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

Revert "Changed nc=0 condition"

This reverts commit 02189e7eac.
This commit is contained in:
Jacob Hass
2026-02-10 16:03:47 -08:00
parent 02189e7eac
commit e7650476c7

View File

@@ -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<RealType>()) / p) <= 1e-7){
return 0;
}