mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[probability] Distribution: loosen constraints on
cumulativeDistributiveInverseForProbabilityUsingIncreasing... precision
This commit is contained in:
@@ -128,7 +128,7 @@ double Distribution::cumulativeDistributiveInverseForProbabilityUsingIncreasingF
|
||||
nullptr);
|
||||
/* Either no result was found, the precision is ok or the result was outside
|
||||
* the given ax bx bounds */
|
||||
assert(std::isnan(result.x2()) || std::fabs(result.x2()) <= DBL_EPSILON || result.x1() == ax);
|
||||
assert(std::isnan(result.x2()) || std::fabs(result.x2()) <= 100.0*DBL_EPSILON || result.x1() == ax);
|
||||
return result.x1();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user