Simplified more of the IndexList code.

This commit is contained in:
Benoit Steiner
2015-11-12 17:19:45 -08:00
parent e9ecfad796
commit 8037826367
5 changed files with 121 additions and 102 deletions

View File

@@ -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