Re: [eigen] Aligned Fixed Sized Mapped matrices |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
I was playing with mapping small fixed aligned buffers to fixed sized matrices and encountered an interesting eigen assertion failure in MapBase.hLine 190 MapBase.h:eigen_assert(( ((internal::UIntPtr(m_data) % internal::traits<Derived>::Alignment) == 0) || (cols() * rows() * innerStride() * sizeof(Scalar)) < internal::traits<Derived>::Alignment ) && "data is not aligned"); I am particularly curious about the requirement(cols() * rows() * innerStride() * sizeof(Scalar)) < internal::traits<Derived>::Alignment Why this rather strict requirement?Sameer
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |