aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/geo_transformations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp
index 30a0aba66..89b09e5d4 100644
--- a/test/geo_transformations.cpp
+++ b/test/geo_transformations.cpp
@@ -402,8 +402,8 @@ 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);
+ t20 = Translation2(v20) * (Rotation2D<Scalar>(s0) * Eigen::Scaling(s0));
+ t21 = Translation2(v20) * Rotation2D<Scalar>(s0) * Eigen::Scaling(s0);
VERIFY_IS_APPROX(t20,t21);
}