mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Added option to force the usage of the Eigen array class instead of the std::array class.
This commit is contained in:
parent
86486eee2d
commit
a367804856
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user