aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Sparse
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-02-11 10:35:01 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-02-11 10:35:01 +0100
commitc16ee72b2093ae635b1f07ffd95626c3a86dbbfe (patch)
treea368fcdd225b368c1c2eb74f5f9a59a216993ee7 /Eigen/Sparse
parente43016367af7b2a4b27c9a1633eee52d6c00dc76 (diff)
bug #1392: fix #include <Eigen/Sparse> with mpl2-only
Diffstat (limited to 'Eigen/Sparse')
-rw-r--r--Eigen/Sparse2
1 files changed, 2 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"