diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-11-12 17:19:45 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-11-12 17:19:45 -0800 |
commit | 8037826367a7becab046df2a8be08a28806a625f (patch) | |
tree | 3e14507a5114856077aee8a6c5e6d87eb94616d1 /Eigen | |
parent | e9ecfad7967fd5285846647372897ecdc125f976 (diff) |
Simplified more of the IndexList code.
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 426025150..9540c0330 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -353,9 +353,10 @@ // Does the compiler support const expressions? #ifdef __CUDACC__ +#define EIGEN_HAS_CONSTEXPR 1 // Const expressions are not supported regardless of what host compiler is used #elif (defined(__cplusplus) && __cplusplus >= 201402L) || \ - EIGEN_GNUC_AT_LEAST(4,9) + EIGEN_GNUC_AT_LEAST(4,8) #define EIGEN_HAS_CONSTEXPR 1 #endif |