mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
NEON: disable unaligned assertion checking for non vectorized types
(transplanted from 7f2a88c91f
)
This commit is contained in:
@@ -50,7 +50,10 @@ template<typename VectorType> void map_class_vector(const VectorType& m)
|
||||
VERIFY_IS_EQUAL(ma1, ma2);
|
||||
VERIFY_IS_EQUAL(ma1, ma3);
|
||||
#ifdef EIGEN_VECTORIZE
|
||||
VERIFY_RAISES_ASSERT((Map<VectorType,Aligned>(array3unaligned, size)))
|
||||
if(internal::packet_traits<Scalar>::Vectorizable)
|
||||
{
|
||||
VERIFY_RAISES_ASSERT((Map<VectorType,Aligned>(array3unaligned, size)))
|
||||
}
|
||||
#endif
|
||||
|
||||
internal::aligned_delete(array1, size);
|
||||
|
||||
Reference in New Issue
Block a user