From 9b68ed45370ebb840912206d1ebc1642f0c16785 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 6 Jul 2016 15:02:49 +0200 Subject: Relax is_equal to is_approx because scaling might modify last bit. --- test/schur_real.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/schur_real.cpp') diff --git a/test/schur_real.cpp b/test/schur_real.cpp index cfe4570d4..4aede87df 100644 --- a/test/schur_real.cpp +++ b/test/schur_real.cpp @@ -82,7 +82,7 @@ template void schur(int size = MatrixType::ColsAtCompileTim Atriangular.template triangularView().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 -- cgit v1.2.3