mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Forgot to include a file in previous commit
This commit is contained in:
@@ -349,10 +349,12 @@
|
|||||||
# define __has_feature(x) 0
|
# define __has_feature(x) 0
|
||||||
#endif
|
#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)
|
#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
|
#else
|
||||||
#define EIGEN_HAS_INDEXED_VIEW 0
|
#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Upperbound on the C++ version to use.
|
// Upperbound on the C++ version to use.
|
||||||
|
|||||||
Reference in New Issue
Block a user