From fa32ce0fc5d2af731f8c08d70ad9c51717bba8ec Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 1 Feb 2011 13:51:56 +0100 Subject: [PATCH] fix alignment issue --- Eigen/src/Core/Product.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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