diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-07-29 11:11:23 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-07-29 11:11:23 +0200 |
commit | aec48143701446e22667549e34509875e42513f9 (patch) | |
tree | f9f4ff66310c1f48e4fbff85a65e7ba2888699d2 /test/geo_transformations.cpp | |
parent | f7d5b9323d357a25c4b8533b1510d391008cb17d (diff) |
Many files were missing in previous changeset.
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r-- | test/geo_transformations.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index e296267cf..d50c7c76a 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -470,9 +470,9 @@ template<typename Scalar> void transform_alignment() typedef Transform<Scalar,3,Projective,AutoAlign> Projective3a; typedef Transform<Scalar,3,Projective,DontAlign> Projective3u; - EIGEN_ALIGN_DEFAULT Scalar array1[16]; - EIGEN_ALIGN_DEFAULT Scalar array2[16]; - EIGEN_ALIGN_DEFAULT Scalar array3[16+1]; + EIGEN_ALIGN_MAX Scalar array1[16]; + EIGEN_ALIGN_MAX Scalar array2[16]; + EIGEN_ALIGN_MAX Scalar array3[16+1]; Scalar* array3u = array3+1; Projective3a *p1 = ::new(reinterpret_cast<void*>(array1)) Projective3a; @@ -488,7 +488,7 @@ template<typename Scalar> void transform_alignment() VERIFY_IS_APPROX( (*p1) * (*p1), (*p2)*(*p3)); - #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY + #if defined(EIGEN_VECTORIZE) && EIGEN_MAX_STATIC_ALIGN_BYTES>0 if(internal::packet_traits<Scalar>::Vectorizable) VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Projective3a)); #endif |