diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-02-11 10:35:01 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-02-11 10:35:01 +0100 |
commit | c16ee72b2093ae635b1f07ffd95626c3a86dbbfe (patch) | |
tree | a368fcdd225b368c1c2eb74f5f9a59a216993ee7 | |
parent | e43016367af7b2a4b27c9a1633eee52d6c00dc76 (diff) |
bug #1392: fix #include <Eigen/Sparse> with mpl2-only
-rw-r--r-- | Eigen/Sparse | 2 | ||||
-rw-r--r-- | test/mpl2only.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/Sparse b/Eigen/Sparse index a2ef7a665..136e681a1 100644 --- a/Eigen/Sparse +++ b/Eigen/Sparse @@ -25,7 +25,9 @@ #include "SparseCore" #include "OrderingMethods" +#ifndef EIGEN_MPL2_ONLY #include "SparseCholesky" +#endif #include "SparseLU" #include "SparseQR" #include "IterativeLinearSolvers" diff --git a/test/mpl2only.cpp b/test/mpl2only.cpp index 5ef0d2b2e..7d04d6bba 100644 --- a/test/mpl2only.cpp +++ b/test/mpl2only.cpp @@ -12,7 +12,9 @@ #include <Eigen/SparseCore> #include <Eigen/SparseLU> #include <Eigen/SparseQR> +#include <Eigen/Sparse> #include <Eigen/IterativeLinearSolvers> +#include <Eigen/Eigen> int main() { |