]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Testsuite: Be a bit more relaxed in base/timer
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 19:49:29 +0000 (19:49 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 19:49:29 +0000 (19:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@31390 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/timer.cc

index 195ebd1a51e9f8358fb8aaadc30793de4cc5afc0..8079a224b30bede253d44711bb2c4e14ff879382 100644 (file)
@@ -31,8 +31,8 @@ void compare (double t1, double t2, double ratio)
   double r = t2/t1;
   double d = std::fabs(r-ratio) / ratio;
 
-  // relative error < 15%?
-  if (d <= .15)
+  // relative error < 25%?
+  if (d <= .25)
     {
       deallog << "OK" << std::endl;
     }

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.