diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-05-28 11:38:53 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-05-28 11:38:53 +0200 |
commit | 7b46d7ed0f20640106abefd47e2b36fea66a1e51 (patch) | |
tree | ae6d883bec2e41ad65c6e8aa6d9ab3ccd2a51993 | |
parent | d23845c4cc84f2ab80b0ea5c0b8941dee5ee55ca (diff) |
finish to fix bug #270: we have to use EIGEN_ALIGN_STATICALLY and not EIGEN_DONT_ALIGN_STATICALLY...
-rw-r--r-- | test/geo_hyperplane.cpp | 2 | ||||
-rw-r--r-- | test/geo_parametrizedline.cpp | 2 | ||||
-rw-r--r-- | test/geo_quaternion.cpp | 2 | ||||
-rw-r--r-- | test/geo_transformations.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp index 6916a1cdc..f536b8a3c 100644 --- a/test/geo_hyperplane.cpp +++ b/test/geo_hyperplane.cpp @@ -150,7 +150,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) && !defined(EIGEN_DONT_ALIGN_STATICALLY) + #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY if(internal::packet_traits<Scalar>::Vectorizable) VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Plane3a)); #endif diff --git a/test/geo_parametrizedline.cpp b/test/geo_parametrizedline.cpp index 6560ffcff..13f98fdd6 100644 --- a/test/geo_parametrizedline.cpp +++ b/test/geo_parametrizedline.cpp @@ -90,7 +90,7 @@ template<typename Scalar> void parametrizedline_alignment() VERIFY_IS_APPROX(p1->direction(), p2->direction()); VERIFY_IS_APPROX(p1->direction(), p3->direction()); - #if defined(EIGEN_VECTORIZE) && !defined(EIGEN_DONT_ALIGN_STATICALLY) + #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY if(internal::packet_traits<Scalar>::Vectorizable) VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Line4a)); #endif diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index b6f9690be..e03245654 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -171,7 +171,7 @@ template<typename Scalar> void quaternionAlignment(void){ VERIFY_IS_APPROX(q1->coeffs(), q2->coeffs()); VERIFY_IS_APPROX(q1->coeffs(), q3->coeffs()); - #if defined(EIGEN_VECTORIZE) && !defined(EIGEN_DONT_ALIGN_STATICALLY) + #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY if(internal::packet_traits<Scalar>::Vectorizable) VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(arrayunaligned)) QuaternionA)); #endif diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index b9e9f8c8e..b606de2fb 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -442,7 +442,7 @@ template<typename Scalar> void transform_alignment() VERIFY_IS_APPROX( (*p1) * (*p1), (*p2)*(*p3)); - #if defined(EIGEN_VECTORIZE) && !defined(EIGEN_DONT_ALIGN_STATICALLY) + #if defined(EIGEN_VECTORIZE) && EIGEN_ALIGN_STATICALLY if(internal::packet_traits<Scalar>::Vectorizable) VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Projective3a)); #endif |