mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 01:59:38 +08:00
EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET must be defined to use Eigen/Sparse
This commit is contained in:
parent
955e096277
commit
32124bc64a
@ -11,6 +11,10 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <algorithm>
|
#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 {
|
namespace Eigen {
|
||||||
|
|
||||||
/** \defgroup Sparse_Module Sparse module
|
/** \defgroup Sparse_Module Sparse module
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#ifndef EIGEN_TESTSPARSE_H
|
#ifndef EIGEN_TESTSPARSE_H
|
||||||
|
|
||||||
|
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC
|
#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user