From e7650476c73dad777b17ccaf953deaccbc7dd0d6 Mon Sep 17 00:00:00 2001 From: Jacob Hass Date: Tue, 10 Feb 2026 16:03:47 -0800 Subject: [PATCH] Revert "Changed nc=0 condition" This reverts commit 02189e7eac60409cc69cb6e92c47248f20147fbb. --- include/boost/math/distributions/non_central_f.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/distributions/non_central_f.hpp b/include/boost/math/distributions/non_central_f.hpp index 2d40e3b53..60d5926a9 100644 --- a/include/boost/math/distributions/non_central_f.hpp +++ b/include/boost/math/distributions/non_central_f.hpp @@ -62,7 +62,7 @@ namespace boost // and p drops below 1e-7, the function f becomes // numerically unstable. Thus, we can't find nc below this point. // See PR 1345 for more details. - if (abs(f(0) / p) <= 1e-7){ + if (abs(f(tools::min_value()) / p) <= 1e-7){ return 0; }