]> https://gitweb.dealii.org/ - dealii.git/commitdiff
adolc/helper_tape_index_01: Increase tolerance 10071/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 7 May 2020 23:44:46 +0000 (18:44 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 7 May 2020 23:44:46 +0000 (18:44 -0500)
tests/adolc/helper_tape_index_01.cc

index a9b1a8c60e42e451051e1185dc2808520c882d25..9a765e1b8ec79d8316a46bbc9741d157a0e26356 100644 (file)
@@ -190,8 +190,7 @@ test_scalar_scalar_coupled_one_run(const number_t     s1,
 
   // Verify the result
   typedef FunctionsTestScalarScalarCoupled<dim, ScalarNumberType> func;
-  static const ScalarNumberType                                   tol =
-    1e8 * std::numeric_limits<ScalarNumberType>::epsilon();
+  static const ScalarNumberType                                   tol = 1.e-7;
   //  std::cout << "dpsi_ds1:            " << dpsi_ds1 << std::endl;
   //  std::cout << "func::dpsi_ds1(s1,s2): " << func::dpsi_ds1(s1,s2) <<
   //  std::endl; std::cout << "diff: " << std::abs(dpsi_ds1 -

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.