From 9e19afcd196039b1b3ab4cf219078a45f9e899e2 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 3 May 2024 09:42:52 +0100 Subject: [PATCH] Adjust expected precision. --- test/test_autodiff_5.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_autodiff_5.cpp b/test/test_autodiff_5.cpp index 4681e1a53..8c875c31f 100644 --- a/test/test_autodiff_5.cpp +++ b/test/test_autodiff_5.cpp @@ -59,10 +59,10 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(chebyshev_hpp, T, all_float_types) { BOOST_CHECK_CLOSE( boost::math::chebyshev_t(n, make_fvar(x)).derivative(0u), boost::math::chebyshev_t(n, x), 40 * test_constants::pct_epsilon()); - + // Lower accuracy with clang/apple: BOOST_CHECK_CLOSE( boost::math::chebyshev_u(n, make_fvar(x)).derivative(0u), - boost::math::chebyshev_u(n, x), 40 * test_constants::pct_epsilon()); + boost::math::chebyshev_u(n, x), 80 * test_constants::pct_epsilon()); BOOST_CHECK_CLOSE( boost::math::chebyshev_t_prime(n, make_fvar(x)).derivative(0u),