mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +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
|
||||
array(std::initializer_list<T> l) {
|
||||
eigen_assert(l.size() == N);
|
||||
internal::smart_copy(l.begin(), l.end(), this->begin());
|
||||
internal::smart_copy(l.begin(), l.end(), &this->front());
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user