From fbc0a9a3ec19bbe9106754ca4e4d3f382ce50530 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Mon, 28 Oct 2019 18:30:10 -0700 Subject: [PATCH] Fix CXX11Meta compilation with MSVC --- unsupported/Eigen/CXX11/src/util/CXX11Meta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE array(std::initializer_list 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 };