aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Sparse
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-01-27 17:36:58 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-01-27 17:36:58 +0100
commit32124bc64ace50f40c7e2f79b39dd14e284fb9a3 (patch)
tree05025ee555221c885043aad2c0466fc1474828e0 /Eigen/Sparse
parent955e0962774188847c8f2883f7006efa9723571d (diff)
EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET must be defined to use Eigen/Sparse
Diffstat (limited to 'Eigen/Sparse')
-rw-r--r--Eigen/Sparse4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/Sparse b/Eigen/Sparse
index ce6ef2f3c..bdc45610d 100644
--- a/Eigen/Sparse
+++ b/Eigen/Sparse
@@ -11,6 +11,10 @@
#include <cstring>
#include <algorithm>
+#ifndef EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
+#error The sparse module API is not stable yet. To use it anyway, please define the EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET preprocessor token.
+#endif
+
namespace Eigen {
/** \defgroup Sparse_Module Sparse module