diff options
Diffstat (limited to 'test/map.cpp')
-rw-r--r-- | test/map.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/map.cpp b/test/map.cpp index fa4427ba3..9b0301ec0 100644 --- a/test/map.cpp +++ b/test/map.cpp @@ -45,7 +45,9 @@ template<typename VectorType> void map_class_vector(const VectorType& m) VectorType ma3 = Map<VectorType>(array3unaligned, size); VERIFY_IS_EQUAL(ma1, ma2); VERIFY_IS_EQUAL(ma1, ma3); + #ifdef EIGEN_VECTORIZE VERIFY_RAISES_ASSERT((Map<VectorType,Aligned>(array3unaligned, size))) + #endif ei_aligned_delete(array1, size); ei_aligned_delete(array2, size); |