mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Loosen tolerance on tanh_sinh.
This commit is contained in:
@@ -754,7 +754,7 @@ void test_2_arg()
|
||||
{
|
||||
return tc < 0 ? 1 / boost::math::cbrt(t * (1-t)) : 1 / boost::math::cbrt(t * tc);
|
||||
}, 0, 1);
|
||||
BOOST_CHECK_CLOSE_FRACTION(Q, boost::math::pow<2>(boost::math::tgamma(Real(2) / 3)) / boost::math::tgamma(Real(4) / 3), tol * 3);
|
||||
BOOST_CHECK_CLOSE_FRACTION(Q, boost::math::pow<2>(boost::math::tgamma(Real(2) / 3)) / boost::math::tgamma(Real(4) / 3), tol * 4);
|
||||
//
|
||||
// We can do the same thing with ((1+x)(1-x))^-N ; N < 1
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user