fix compilation of sparse tests
diff --git a/test/sparse.h b/test/sparse.h index 246dc1f..4733e4d 100644 --- a/test/sparse.h +++ b/test/sparse.h
@@ -41,7 +41,6 @@ #include <Eigen/Cholesky> #include <Eigen/LU> #include <Eigen/Sparse> -#include <Eigen/SparseExtra> enum { ForceNonZeroDiag = 1,
diff --git a/unsupported/test/sparse_ldlt.cpp b/unsupported/test/sparse_ldlt.cpp index 8671807..618a22b 100644 --- a/unsupported/test/sparse_ldlt.cpp +++ b/unsupported/test/sparse_ldlt.cpp
@@ -23,6 +23,7 @@ // Eigen. If not, see <http://www.gnu.org/licenses/>. #include "sparse.h" +#include <Eigen/SparseExtra> #ifdef EIGEN_TAUCS_SUPPORT #include <Eigen/TaucsSupport>
diff --git a/unsupported/test/sparse_llt.cpp b/unsupported/test/sparse_llt.cpp index 97360f1..0c7340c 100644 --- a/unsupported/test/sparse_llt.cpp +++ b/unsupported/test/sparse_llt.cpp
@@ -23,6 +23,7 @@ // Eigen. If not, see <http://www.gnu.org/licenses/>. #include "sparse.h" +#include <Eigen/SparseExtra> #ifdef EIGEN_CHOLMOD_SUPPORT #include <Eigen/CholmodSupport>
diff --git a/unsupported/test/sparse_lu.cpp b/unsupported/test/sparse_lu.cpp index bdf79ca..75aa7a9 100644 --- a/unsupported/test/sparse_lu.cpp +++ b/unsupported/test/sparse_lu.cpp
@@ -23,6 +23,7 @@ // Eigen. If not, see <http://www.gnu.org/licenses/>. #include "sparse.h" +#include <Eigen/SparseExtra> #ifdef EIGEN_UMFPACK_SUPPORT #include <Eigen/UmfPackSupport>