From: Martin Kronbichler Date: Sun, 5 Nov 2017 18:48:52 +0000 (+0100) Subject: Add filter-to-zero to another full matrix test. X-Git-Tag: v9.0.0-rc1~817^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2088b3a4bfd3eb74023fed9c0a08d65a5922622;p=dealii.git Add filter-to-zero to another full matrix test. --- 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()