]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reduce tolerance in test 12592/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 22 Jul 2021 20:05:05 +0000 (22:05 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 22 Jul 2021 20:05:05 +0000 (22:05 +0200)
tests/matrix_free/compute_diagonal_util.h

index d8f4b960d6ddb9c1737e00a63440d57e793a4f9b..53a266d452f0ec2e38a78dd95d47d118e1252a9f 100644 (file)
@@ -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)
       {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.