aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/SparseCholesky
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-02-06 11:30:33 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-02-06 11:30:33 +0100
commit51542539330435fba70c483f7bf8a76001b0f5b9 (patch)
tree301546ba19f43f02f3e43d7d0f26c28380fda18d /Eigen/SparseCholesky
parent14e2ab02b58ba07e2be6b003bc178a0ec5e1015b (diff)
Fix some MPL2/LGPL lisencing confusions
Diffstat (limited to 'Eigen/SparseCholesky')
-rw-r--r--Eigen/SparseCholesky8
1 files changed, 8 insertions, 0 deletions
diff --git a/Eigen/SparseCholesky b/Eigen/SparseCholesky
index f94e2e765..800f17bc4 100644
--- a/Eigen/SparseCholesky
+++ b/Eigen/SparseCholesky
@@ -20,11 +20,19 @@
* \endcode
*/
+#ifdef EIGEN_MPL2_ONLY
+#error The SparseCholesky module has nothing to offer in MPL2 only mode
+#endif
+
#include "src/misc/Solve.h"
#include "src/misc/SparseSolve.h"
#include "src/SparseCholesky/SimplicialCholesky.h"
+#ifndef EIGEN_MPL2_ONLY
+#include "src/SparseCholesky/SimplicialCholesky_impl.h"
+#endif
+
#include "src/Core/util/ReenableStupidWarnings.h"
#endif // EIGEN_SPARSECHOLESKY_MODULE_H