mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Fix CXX11Meta compilation with MSVC
This commit is contained in:
parent
bd864ab42b
commit
fbc0a9a3ec
@ -71,7 +71,7 @@ class array : public std::array<T, N> {
|
|||||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||||
array(std::initializer_list<T> l) {
|
array(std::initializer_list<T> l) {
|
||||||
eigen_assert(l.size() == N);
|
eigen_assert(l.size() == N);
|
||||||
internal::smart_copy(l.begin(), l.end(), this->begin());
|
internal::smart_copy(l.begin(), l.end(), &this->front());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user