mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
Fix "explicit instantiation of 'Eigen::Spline' must occur in namespace 'Eigen'" warnings
This commit is contained in:
parent
3930c9b086
commit
1bb1945078
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
#include <unsupported/Eigen/Splines>
|
#include <unsupported/Eigen/Splines>
|
||||||
|
|
||||||
|
namespace Eigen {
|
||||||
|
|
||||||
// lets do some explicit instantiations and thus
|
// lets do some explicit instantiations and thus
|
||||||
// force the compilation of all spline functions...
|
// force the compilation of all spline functions...
|
||||||
template class Spline<double, 2, Dynamic>;
|
template class Spline<double, 2, Dynamic>;
|
||||||
@ -29,6 +31,8 @@ template class Spline<float, 3, 3>;
|
|||||||
template class Spline<float, 3, 4>;
|
template class Spline<float, 3, 4>;
|
||||||
template class Spline<float, 3, 5>;
|
template class Spline<float, 3, 5>;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Spline<double, 2, Dynamic> closed_spline2d()
|
Spline<double, 2, Dynamic> closed_spline2d()
|
||||||
{
|
{
|
||||||
RowVectorXd knots(12);
|
RowVectorXd knots(12);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user