From 1bb1945078e776fd1ff2b88ea1ff25ebad723427 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 28 Feb 2013 20:22:26 +0100 Subject: [PATCH] Fix "explicit instantiation of 'Eigen::Spline' must occur in namespace 'Eigen'" warnings --- unsupported/test/splines.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unsupported/test/splines.cpp b/unsupported/test/splines.cpp index 1043453dc..a7eb3e0c4 100644 --- a/unsupported/test/splines.cpp +++ b/unsupported/test/splines.cpp @@ -11,6 +11,8 @@ #include +namespace Eigen { + // lets do some explicit instantiations and thus // force the compilation of all spline functions... template class Spline; @@ -29,6 +31,8 @@ template class Spline; template class Spline; template class Spline; +} + Spline closed_spline2d() { RowVectorXd knots(12);