aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-09-18 18:45:45 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-09-18 18:45:45 -0400
commit760636a237d875aa6f0e108e432fd98974ab25ea (patch)
tree9266a26a6f6b56fca9487e86a58941eccbc306dd /test
parentfcae32cc3fde7e0a4928c1f896f3eac82b48891d (diff)
fix bug #52: Transform::inverse() should return a Transform
Diffstat (limited to 'test')
-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 914dbaf74..2b05f2457 100644
--- a/test/geo_transformations.cpp
+++ b/test/geo_transformations.cpp
@@ -296,10 +296,10 @@ template<typename Scalar, int Mode> void transformations(void)
t0.setIdentity();
t0.translate(v0);
t0.linear().setRandom();
- VERIFY_IS_APPROX(t0.inverse(Affine), t0.matrix().inverse());
+ VERIFY_IS_APPROX(t0.inverse(Affine).matrix(), t0.matrix().inverse());
t0.setIdentity();
t0.translate(v0).rotate(q1);
- VERIFY_IS_APPROX(t0.inverse(Isometry), t0.matrix().inverse());
+ VERIFY_IS_APPROX(t0.inverse(Isometry).matrix(), t0.matrix().inverse());
}
// test extract rotation and aligned scaling