From: Peter Munch Date: Thu, 22 Jul 2021 20:05:05 +0000 (+0200) Subject: Reduce tolerance in test X-Git-Tag: v9.4.0-rc1~1126^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12592%2Fhead;p=dealii.git Reduce tolerance in test --- diff --git a/tests/matrix_free/compute_diagonal_util.h b/tests/matrix_free/compute_diagonal_util.h index d8f4b960d6..53a266d452 100644 --- a/tests/matrix_free/compute_diagonal_util.h +++ b/tests/matrix_free/compute_diagonal_util.h @@ -128,7 +128,7 @@ public: deallog << error_local_2 << std::endl; } - Assert(std::abs(error_local_1 - error_local_2) < 1e-10, ExcInternalError()); + Assert(std::abs(error_local_1 - error_local_2) < 1e-7, ExcInternalError()); if (test_matrix) { @@ -189,7 +189,7 @@ public: deallog << diagonal_global_reference.l2_norm() << std::endl; } - Assert(std::abs(error_local_1 - error_global) < 1e-10, ExcInternalError()); + Assert(std::abs(error_local_1 - error_global) < 1e-7, ExcInternalError()); if (test_matrix) {