aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_hyperplane.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-07-29 11:11:23 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-07-29 11:11:23 +0200
commitaec48143701446e22667549e34509875e42513f9 (patch)
treef9f4ff66310c1f48e4fbff85a65e7ba2888699d2 /test/geo_hyperplane.cpp
parentf7d5b9323d357a25c4b8533b1510d391008cb17d (diff)
Many files were missing in previous changeset.
Diffstat (limited to 'test/geo_hyperplane.cpp')
-rw-r--r--test/geo_hyperplane.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp
index e5522701e..c1cc691c9 100644
--- a/test/geo_hyperplane.cpp
+++ b/test/geo_hyperplane.cpp
@@ -155,9 +155,9 @@ template<typename Scalar> void hyperplane_alignment()
typedef Hyperplane<Scalar,3,AutoAlign> Plane3a;
typedef Hyperplane<Scalar,3,DontAlign> Plane3u;
- EIGEN_ALIGN_DEFAULT Scalar array1[4];
- EIGEN_ALIGN_DEFAULT Scalar array2[4];
- EIGEN_ALIGN_DEFAULT Scalar array3[4+1];
+ EIGEN_ALIGN_MAX Scalar array1[4];
+ EIGEN_ALIGN_MAX Scalar array2[4];
+ EIGEN_ALIGN_MAX Scalar array3[4+1];
Scalar* array3u = array3+1;
Plane3a *p1 = ::new(reinterpret_cast<void*>(array1)) Plane3a;
@@ -171,7 +171,7 @@ template<typename Scalar> void hyperplane_alignment()
VERIFY_IS_APPROX(p1->coeffs(), p2->coeffs());
VERIFY_IS_APPROX(p1->coeffs(), p3->coeffs());
- #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY
+ #if defined(EIGEN_VECTORIZE) && EIGEN_MAX_STATIC_ALIGN_BYTES > 0
if(internal::packet_traits<Scalar>::Vectorizable && internal::packet_traits<Scalar>::size<=4)
VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Plane3a));
#endif