From 1dacef374628535ac579e7ce8ab32a1970c25498 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 30 Jan 2026 12:27:29 +0000 Subject: [PATCH] Try and tighten up test case. --- test/test_nc_f.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_nc_f.cpp b/test/test_nc_f.cpp index 6e8da36e9..4d96f9c22 100644 --- a/test/test_nc_f.cpp +++ b/test/test_nc_f.cpp @@ -336,7 +336,7 @@ void test_spots(RealType, const char* name = nullptr) for (RealType x : x_vals) { RealType P = cdf(dist_no_centrality, x); - BOOST_CHECK(dist.find_non_centrality(x, a, b, P) < tolerance); + BOOST_CHECK_LE(dist.find_non_centrality(x, a, b, P), boost::math::tools::min_value() * 10); } // Case when P=1 or P=0 BOOST_MATH_CHECK_THROW(dist.find_non_centrality(x, a, b, 1), std::domain_error);