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

NC T finders: Improve code coverage.

This commit is contained in:
jzmaddock
2026-02-18 16:35:23 +00:00
parent 040a23cc89
commit 585d317947
2 changed files with 8 additions and 1 deletions

View File

@@ -751,7 +751,7 @@ namespace boost
//
// Can't find a thing if one of p and q is zero:
//
return policies::raise_evaluation_error<RealType>(function, "Can't find degrees of freedom when the probability is 0 or 1, only possible answer is %1%", // LCOV_EXCL_LINE
return policies::raise_evaluation_error<RealType>(function, "Can't find degrees of freedom when the probability is 0 or 1, only possible answer is %1%",
RealType(std::numeric_limits<RealType>::quiet_NaN()), Policy()); // LCOV_EXCL_LINE
}
if (fabs(x) < tools::epsilon<RealType>())