diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-04-22 22:49:08 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-04-22 22:49:08 +0200 |
commit | 35b31353abebbbd823457c58d00d85c9f65e8a30 (patch) | |
tree | 4699bcffe61b9a4050e841fa748a792c78841458 /test/permutationmatrices.cpp | |
parent | 34e499ad36363692615b800b5dbe6cd496341339 (diff) |
Fix unit test
Diffstat (limited to 'test/permutationmatrices.cpp')
-rw-r--r-- | test/permutationmatrices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/permutationmatrices.cpp b/test/permutationmatrices.cpp index 0ed7a4b2b..b2229cfe9 100644 --- a/test/permutationmatrices.cpp +++ b/test/permutationmatrices.cpp @@ -124,7 +124,7 @@ template<typename MatrixType> void permutationmatrices(const MatrixType& m) lp = lt; rp = rt; VERIFY_EVALUATION_COUNT(m_permuted = lt * m_permuted * rt, 1); - VERIFY_IS_APPROX(m_permuted, lp*m_original*rp); + VERIFY_IS_APPROX(m_permuted, lp*m_original*rp.transpose()); VERIFY_IS_APPROX(lt.inverse()*m_permuted*rt.inverse(), m_original); } |