Skip to content

Commit

Permalink
increase tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed Jan 22, 2024
1 parent bc97599 commit 1bf4096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_bessel_j.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void test_bessel(T, const char* name)
//
// special cases for code coverage:
//
T tolerance = boost::math::tools::epsilon<T>() * 200;
T tolerance = boost::math::tools::epsilon<T>() * 2000;
BOOST_CHECK_CLOSE_FRACTION(boost::math::sph_bessel(200, T(0.5)), T(3.070403008048099934928128420285169174541102108657574230431e-497L), tolerance);
BOOST_MATH_CHECK_THROW(boost::math::sph_bessel(2, T(-2.0)), std::domain_error);
}
Expand Down

0 comments on commit 1bf4096

Please sign in to comment.