mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-01 10:43:14 +08:00
fix alignment issue
This commit is contained in:
parent
2d09b11a97
commit
fa32ce0fc5
@ -375,8 +375,8 @@ struct gemv_static_vector_if<Scalar,Size,Dynamic,true>
|
|||||||
template<typename Scalar,int Size,int MaxSize>
|
template<typename Scalar,int Size,int MaxSize>
|
||||||
struct gemv_static_vector_if<Scalar,Size,MaxSize,true>
|
struct gemv_static_vector_if<Scalar,Size,MaxSize,true>
|
||||||
{
|
{
|
||||||
Scalar m_data[EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)];
|
internal::plain_array<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize),0> m_data;
|
||||||
EIGEN_STRONG_INLINE Scalar* data() { return m_data; }
|
EIGEN_STRONG_INLINE Scalar* data() { return m_data.array; }
|
||||||
};
|
};
|
||||||
|
|
||||||
template<> struct gemv_selector<OnTheRight,ColMajor,true>
|
template<> struct gemv_selector<OnTheRight,ColMajor,true>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user