aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-20 12:41:40 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-20 12:41:40 -0800
commita367804856cf3a39d9d43d10ec3ba2e335a8ec3a (patch)
tree44cfc37b65fadfeb998e9fd13d38fd17295d3ebe /unsupported
parent86486eee2d2cd80a40e582770bd81ee37dae3f7a (diff)
Added option to force the usage of the Eigen array class instead of the std::array class.
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h b/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h
index 9a239ef6d..ab9c2ec3e 100644
--- a/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h
+++ b/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h
@@ -15,7 +15,7 @@
// The array class is only available starting with cxx11. Emulate our own here
// if needed.
// Moreover, CUDA doesn't support the STL containers, so we use our own instead.
-#if __cplusplus <= 199711L || defined(__CUDACC__)
+#if __cplusplus <= 199711L || defined(__CUDACC__) || defined(EIGEN_AVOID_STL_ARRAY)
namespace Eigen {
template <typename T, size_t n> class array {