fix bug #487: isometry * scaling was not compiling

This commit is contained in:
Gael Guennebaud
2012-07-04 18:25:07 +02:00
parent d878cf2227
commit 54d55aeaf6
3 changed files with 15 additions and 20 deletions

View File

@@ -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()