mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix geo_* unit tests with respect to AVX
This commit is contained in:
@@ -404,9 +404,9 @@ template<typename Scalar> void transform_alignment()
|
||||
typedef Transform<Scalar,3,Projective,AutoAlign> Projective3a;
|
||||
typedef Transform<Scalar,3,Projective,DontAlign> Projective3u;
|
||||
|
||||
EIGEN_ALIGN16 Scalar array1[16];
|
||||
EIGEN_ALIGN16 Scalar array2[16];
|
||||
EIGEN_ALIGN16 Scalar array3[16+1];
|
||||
EIGEN_ALIGN_DEFAULT Scalar array1[16];
|
||||
EIGEN_ALIGN_DEFAULT Scalar array2[16];
|
||||
EIGEN_ALIGN_DEFAULT Scalar array3[16+1];
|
||||
Scalar* array3u = array3+1;
|
||||
|
||||
Projective3a *p1 = ::new(reinterpret_cast<void*>(array1)) Projective3a;
|
||||
|
||||
Reference in New Issue
Block a user