mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-06 19:29:08 +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
|
// The array class is only available starting with cxx11. Emulate our own here
|
||||||
// if needed.
|
// if needed.
|
||||||
// Moreover, CUDA doesn't support the STL containers, so we use our own instead.
|
// 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 {
|
namespace Eigen {
|
||||||
template <typename T, size_t n> class array {
|
template <typename T, size_t n> class array {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user