aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eugene Zhulenev <ezhulenev@google.com>2019-10-28 18:30:10 -0700
committerGravatar Eugene Zhulenev <ezhulenev@google.com>2019-10-28 18:30:10 -0700
commitfbc0a9a3ec19bbe9106754ca4e4d3f382ce50530 (patch)
tree2fa5ff78d3954371cd13ccca3aea671e770bb0af
parentbd864ab42b763e557bcbe2bf3f1bc1fcd5e9950e (diff)
Fix CXX11Meta compilation with MSVC
-rw-r--r--unsupported/Eigen/CXX11/src/util/CXX11Meta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h
index 1f34fca27..1c770a32e 100644
--- a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h
+++ b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h
@@ -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
};