clean several other assertion checking tests

(transplanted from 96464f8563
)
This commit is contained in:
Gael Guennebaud
2011-05-20 09:59:15 +02:00
parent fe21e084b4
commit 4c7d57490c
5 changed files with 15 additions and 16 deletions

View File

@@ -150,8 +150,9 @@ template<typename Scalar> void hyperplane_alignment()
VERIFY_IS_APPROX(p1->coeffs(), p2->coeffs());
VERIFY_IS_APPROX(p1->coeffs(), p3->coeffs());
#ifdef EIGEN_VECTORIZE
VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Plane3a));
#if defined(EIGEN_VECTORIZE) && !defined(EIGEN_DONT_ALIGN_STATICALLY)
if(internal::packet_traits<Scalar>::Vectorizable)
VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Plane3a));
#endif
}