]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Be a bit more relaxed in base/timer
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 19:49:29 +0000 (19:49 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
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.