From 32124bc64ace50f40c7e2f79b39dd14e284fb9a3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 27 Jan 2011 17:36:58 +0100 Subject: EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET must be defined to use Eigen/Sparse --- Eigen/Sparse | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Eigen/Sparse') diff --git a/Eigen/Sparse b/Eigen/Sparse index ce6ef2f3c..bdc45610d 100644 --- a/Eigen/Sparse +++ b/Eigen/Sparse @@ -11,6 +11,10 @@ #include #include +#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 -- cgit v1.2.3