mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-16 14:49:39 +08:00
Fix unit test
This commit is contained in:
parent
34e499ad36
commit
35b31353ab
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user