diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 6816c183d..1363e83b6 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -375,8 +375,8 @@ struct gemv_static_vector_if template struct gemv_static_vector_if { - Scalar m_data[EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)]; - EIGEN_STRONG_INLINE Scalar* data() { return m_data; } + internal::plain_array m_data; + EIGEN_STRONG_INLINE Scalar* data() { return m_data.array; } }; template<> struct gemv_selector