From 41844526df3fc7248887b6bd509a26c5f705a788 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 7 May 2020 18:44:46 -0500 Subject: [PATCH] adolc/helper_tape_index_01: Increase tolerance --- tests/adolc/helper_tape_index_01.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 - -- 2.39.5