Skip to content

Commit

Permalink
Adjust expected precision.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed May 3, 2024
1 parent 4428599 commit 9e19afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_autodiff_5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, m>(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<T, m>(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<T, m>(x)).derivative(0u),
Expand Down

0 comments on commit 9e19afc

Please sign in to comment.