eigen2support: disable sparse tests, and do not require to define YES_I_KNOW_NOT_STABLE

This commit is contained in:
Benoit Jacob
2011-01-31 08:44:49 -05:00
parent 374deaed5f
commit 7032ec80ae
3 changed files with 12 additions and 6 deletions

View File

@@ -11,6 +11,10 @@
#include <cstring>
#include <algorithm>
#ifdef EIGEN2_SUPPORT
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
#endif
#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