mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix "explicit instantiation of 'Eigen::Spline' must occur in namespace 'Eigen'" warnings
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user