2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Adjust expected precision.

This commit is contained in:
jzmaddock
2024-05-03 09:42:52 +01:00
parent 4428599387
commit 9e19afcd19

View File

@@ -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),