mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
Relax is_equal to is_approx because scaling might modify last bit.
This commit is contained in:
parent
c3b23d7dbf
commit
9b68ed4537
@ -82,7 +82,7 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim
|
||||
Atriangular.template triangularView<StrictlyLower>().setZero();
|
||||
rs3.setMaxIterations(1).compute(Atriangular); // triangular matrices do not need any iterations
|
||||
VERIFY_IS_EQUAL(rs3.info(), Success);
|
||||
VERIFY_IS_EQUAL(rs3.matrixT(), Atriangular);
|
||||
VERIFY_IS_APPROX(rs3.matrixT(), Atriangular); // approx because of scaling...
|
||||
VERIFY_IS_EQUAL(rs3.matrixU(), MatrixType::Identity(size, size));
|
||||
|
||||
// Test computation of only T, not U
|
||||
|
Loading…
x
Reference in New Issue
Block a user