mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
relax Map const correctness in eigen2 support stages <= 3
introduce new 'strict' stage 4
This commit is contained in:
12
Eigen/Core
12
Eigen/Core
@@ -221,10 +221,11 @@ inline static const char *SimdInstructionSetsInUse(void) {
|
||||
#endif
|
||||
}
|
||||
|
||||
#define STAGE1_FULL_EIGEN2_API 1
|
||||
#define STAGE2_RESOLVE_API_CONFLICTS 2
|
||||
#define STAGE3_FULL_EIGEN3_API 3
|
||||
#define STAGE9_NO_EIGEN2_SUPPORT 9
|
||||
#define STAGE1_FULL_EIGEN2_API 1
|
||||
#define STAGE2_RESOLVE_API_CONFLICTS 2
|
||||
#define STAGE3_FULL_EIGEN3_API 3
|
||||
#define STAGE4_FULL_EIGEN3_STRICTNESS 4
|
||||
#define STAGE9_NO_EIGEN2_SUPPORT 9
|
||||
|
||||
#ifdef EIGEN2_SUPPORT_STAGE1_FULL_EIGEN2_API
|
||||
#define EIGEN2_SUPPORT
|
||||
@@ -235,6 +236,9 @@ inline static const char *SimdInstructionSetsInUse(void) {
|
||||
#elif defined EIGEN2_SUPPORT_STAGE3_FULL_EIGEN3_API
|
||||
#define EIGEN2_SUPPORT
|
||||
#define EIGEN2_SUPPORT_STAGE STAGE3_FULL_EIGEN3_API
|
||||
#elif defined EIGEN2_SUPPORT_STAGE4_FULL_EIGEN3_STRICTNESS
|
||||
#define EIGEN2_SUPPORT
|
||||
#define EIGEN2_SUPPORT_STAGE STAGE4_FULL_EIGEN3_STRICTNESS
|
||||
#elif defined EIGEN2_SUPPORT
|
||||
// default to stage 3, that's what it's always meant
|
||||
#define EIGEN2_SUPPORT_STAGE3_FULL_EIGEN3_API
|
||||
|
||||
Reference in New Issue
Block a user