2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-24 16:12:15 +00:00

Updated code to match non_central_chi_squared syntax

This commit is contained in:
Jacob Hass
2026-01-02 11:09:54 -08:00
parent 55e2b17b02
commit b330dd7e0c
2 changed files with 11 additions and 9 deletions

View File

@@ -142,9 +142,9 @@ void test_spot(
BOOST_CHECK_CLOSE(
quantile(complement(dist, Q)), x, tol * 10);
BOOST_CHECK_CLOSE(
dist.find_non_centrality(a, b, P, x), ncp, tol * 10);
dist.find_non_centrality(x, a, b, P), ncp, tol * 10);
BOOST_CHECK_CLOSE(
dist.find_non_centrality(boost::math::complement(a, b, P, x)), ncp, tol * 10);
dist.find_non_centrality(boost::math::complement(x, a, b, P)), ncp, tol * 10);
}
if(boost::math::tools::digits<RealType>() > 50)
{