diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-07-04 18:25:07 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-07-04 18:25:07 +0200 |
commit | 54d55aeaf61869f2bcb8af79869bf3eb0274eed4 (patch) | |
tree | 4342fccf0e30433fe75ca0ce06f24bcb84dcb2e9 /test/geo_transformations.cpp | |
parent | d878cf22276239771cf315d437508d8b41471968 (diff) |
fix bug #487: isometry * scaling was not compiling
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r-- | test/geo_transformations.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index e9f05cfb6..ad3e02c8e 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -415,6 +415,9 @@ template<typename Scalar, int Mode, int Options> void transformations() Rotation2D<double> r2d1d = r2d1.template cast<double>(); VERIFY_IS_APPROX(r2d1d.template cast<Scalar>(),r2d1); + t20 = Translation2(v20) * (Rotation2D<Scalar>(s0) * Scaling(s0)); + t21 = Translation2(v20) * Rotation2D<Scalar>(s0) * Scaling(s0); + VERIFY_IS_APPROX(t20,t21); } template<typename Scalar> void transform_alignment() |