aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_transformations.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-01-27 17:17:06 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-01-27 17:17:06 +0100
commit955e0962774188847c8f2883f7006efa9723571d (patch)
tree94507dd14342d72d30099eef03292e82ef26d777 /test/geo_transformations.cpp
parentd5e81d866a2bf2d81050d68ec3f8dc9e4879ee5b (diff)
add an Options template parameter to Hyperplane and ParametrizedLine
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r--test/geo_transformations.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp
index 317ed9a31..13305ddc8 100644
--- a/test/geo_transformations.cpp
+++ b/test/geo_transformations.cpp
@@ -429,17 +429,17 @@ template<typename Scalar, int Mode, int Options> void transformations()
template<typename Scalar> void transform_alignment()
{
- typedef Transform<Scalar,3,Projective,AutoAlign> Projective4a;
- typedef Transform<Scalar,3,Projective,DontAlign> Projective4u;
+ 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];
Scalar* array3u = array3+1;
- Projective4a *p1 = ::new(reinterpret_cast<void*>(array1)) Projective4a;
- Projective4u *p2 = ::new(reinterpret_cast<void*>(array2)) Projective4u;
- Projective4u *p3 = ::new(reinterpret_cast<void*>(array3u)) Projective4u;
+ Projective3a *p1 = ::new(reinterpret_cast<void*>(array1)) Projective3a;
+ Projective3u *p2 = ::new(reinterpret_cast<void*>(array2)) Projective3u;
+ Projective3u *p3 = ::new(reinterpret_cast<void*>(array3u)) Projective3u;
p1->matrix().setRandom();
*p2 = *p1;