diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-01-31 09:14:01 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-01-31 09:14:01 +0100 |
commit | 18e3ac0f0d779834fdb1725f29f7ceafff3e102f (patch) | |
tree | 603e0000a360d17cdfb27e841f7702796325a538 /test/geo_transformations.cpp | |
parent | 87138075dad1bcef1c496704f2cc3d6983156cbb (diff) |
fix some compilation errors with ICC and -strict-ansi
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r-- | test/geo_transformations.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index b606de2fb..3aa70a3af 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -284,9 +284,9 @@ template<typename Scalar, int Mode, int Options> void transformations() // mat * aligned scaling and mat * translation t1 = (Matrix3(q1) * AlignedScaling3(v0)) * Translation3(v0); VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); - t1 = (Matrix3(q1) * Scaling(v0)) * Translation3(v0); + t1 = (Matrix3(q1) * Eigen::Scaling(v0)) * Translation3(v0); VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); - t1 = (q1 * Scaling(v0)) * Translation3(v0); + t1 = (q1 * Eigen::Scaling(v0)) * Translation3(v0); VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); // mat * transformation and aligned scaling * translation t1 = Matrix3(q1) * (AlignedScaling3(v0) * Translation3(v0)); @@ -295,18 +295,18 @@ template<typename Scalar, int Mode, int Options> void transformations() t0.setIdentity(); t0.scale(s0).translate(v0); - t1 = Scaling(s0) * Translation3(v0); + t1 = Eigen::Scaling(s0) * Translation3(v0); VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); t0.prescale(s0); - t1 = Scaling(s0) * t1; + t1 = Eigen::Scaling(s0) * t1; VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); t0 = t3; t0.scale(s0); - t1 = t3 * Scaling(s0,s0,s0); + t1 = t3 * Eigen::Scaling(s0,s0,s0); VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); t0.prescale(s0); - t1 = Scaling(s0,s0,s0) * t1; + t1 = Eigen::Scaling(s0,s0,s0) * t1; VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); |