diff options
Diffstat (limited to 'libs/math/test/test_bessel_airy_zeros.cpp')
-rw-r--r-- | libs/math/test/test_bessel_airy_zeros.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/math/test/test_bessel_airy_zeros.cpp b/libs/math/test/test_bessel_airy_zeros.cpp index 77b9eefe1..a4f57558b 100644 --- a/libs/math/test/test_bessel_airy_zeros.cpp +++ b/libs/math/test/test_bessel_airy_zeros.cpp @@ -102,7 +102,7 @@ void test_bessel_zeros(RealType) // Parameter RealType is only used to communicate the RealType, float, double... // and is an arbitrary zero for all tests. - RealType tolerance = (std::max)( + RealType tolerance = 5 * (std::max)( static_cast<RealType>(boost::math::tools::epsilon<long double>()), boost::math::tools::epsilon<RealType>()); std::cout << "Tolerance for type " << typeid(RealType).name() << " is " << tolerance << "." << std::endl; |