diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-02-26 17:38:37 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-02-26 17:38:37 +0100 |
commit | fe2c8e1c36d1ce8b9d8e987d8d76102bb3a3e627 (patch) | |
tree | 4581fa6191a5600c0066eb1a133f6623c49ed930 /test/geo_transformations.cpp | |
parent | fa17a6da75ca2a987856af06fa2e510730849c54 (diff) |
Fix compilation with ICC that was unable to instanciate Scaling from Eigen's namespace.
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r-- | test/geo_transformations.cpp | 4 |
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); } |