From: Matthias Maier Date: Thu, 7 May 2020 23:44:46 +0000 (-0500) Subject: adolc/helper_tape_index_01: Increase tolerance X-Git-Tag: v9.2.0-rc1~90^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41844526df3fc7248887b6bd509a26c5f705a788;p=dealii.git adolc/helper_tape_index_01: Increase tolerance --- diff --git a/tests/adolc/helper_tape_index_01.cc b/tests/adolc/helper_tape_index_01.cc index a9b1a8c60e..9a765e1b8e 100644 --- a/tests/adolc/helper_tape_index_01.cc +++ b/tests/adolc/helper_tape_index_01.cc @@ -190,8 +190,7 @@ test_scalar_scalar_coupled_one_run(const number_t s1, // Verify the result typedef FunctionsTestScalarScalarCoupled func; - static const ScalarNumberType tol = - 1e8 * std::numeric_limits::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 -