diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-02-11 10:34:18 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-02-11 10:34:18 +0100 |
commit | e43016367af7b2a4b27c9a1633eee52d6c00dc76 (patch) | |
tree | a161d7c2694bf002d682267630f53b070adeba33 /Eigen/src/Core/util/Macros.h | |
parent | 6486d4fc959a91743f9330e460c13ee4b2e10723 (diff) |
Forgot to include a file in previous commit
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 0e2863306..12531e342 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -349,10 +349,12 @@ # define __has_feature(x) 0 #endif +// Some old compilers do not support template specializations like: +// template<typename T,int N> void foo(const T x[N]); #if !( EIGEN_COMP_CLANG && ((EIGEN_COMP_CLANG<309) || defined(__apple_build_version__)) || EIGEN_COMP_GNUC_STRICT && EIGEN_COMP_GNUC<49) -#define EIGEN_HAS_INDEXED_VIEW 1 +#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 1 #else -#define EIGEN_HAS_INDEXED_VIEW 0 +#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 0 #endif // Upperbound on the C++ version to use. |