From c7491997d4d8936b4ff500d1339f8905230bf2c8 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 22 Jul 2021 22:05:05 +0200 Subject: [PATCH] Reduce tolerance in test --- tests/matrix_free/compute_diagonal_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5