From f2088b3a4bfd3eb74023fed9c0a08d65a5922622 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 5 Nov 2017 19:48:52 +0100 Subject: [PATCH] Add filter-to-zero to another full matrix test. --- tests/full_matrix/full_matrix_11.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/full_matrix/full_matrix_11.cc b/tests/full_matrix/full_matrix_11.cc index 3d57c2fca5..cc19927d9a 100644 --- a/tests/full_matrix/full_matrix_11.cc +++ b/tests/full_matrix/full_matrix_11.cc @@ -41,7 +41,9 @@ void test() D(i,j) += A(k,i) * B(k,j); C.add(-1., D); - deallog << "Difference: " << (double)C.l1_norm() << std::endl; + deallog << "Difference: " << filter_out_small_numbers(C.l1_norm(), + 100.*std::numeric_limits::epsilon()) + << std::endl; } int main() -- 2.39.5