diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-08-24 12:38:20 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-08-24 12:38:20 +0200 |
commit | 548ecc2fe5310fcf1e363a440a83b6bf4c18b0e2 (patch) | |
tree | 8c7c88ec6b24d85338bee01395a385323ac479cc /test | |
parent | ad9a7c69bc9cc7b8192533c4e714097343b1018d (diff) |
update inverse unit test to highlight another bug in SSE 4x4 inversion code
Diffstat (limited to 'test')
-rw-r--r-- | test/inverse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index 793f4dd36..df11c0a4a 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -55,7 +55,7 @@ template<typename MatrixType> void inverse(const MatrixType& m) VERIFY_IS_APPROX(m1, m1.inverse().inverse() ); // since for the general case we implement separately row-major and col-major, test that - VERIFY_IS_APPROX(m1.transpose().inverse(), m1.inverse().transpose()); + VERIFY_IS_APPROX(MatrixType(m1.transpose().inverse()), MatrixType(m1.inverse().transpose())); #if !defined(EIGEN_TEST_PART_5) && !defined(EIGEN_TEST_PART_6) //computeInverseAndDetWithCheck tests |