Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 065be11

Browse files
committed
.
1 parent f05eddb commit 065be11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/statistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,8 +1725,8 @@ def f_inv(y):
17251725
def _quartic_invcdf_estimate(p):
17261726
sign, p = (1.0, p) if p <= 1/2 else (-1.0, 1.0 - p)
17271727
x = (2.0 * p) ** 0.4258865685331 - 1.0
1728-
if p >= 0.004:
1729-
x += 0.026818732 * sin(7.101753784 * p + 2.732305658)
1728+
if p >= 0.004 < 0.499:
1729+
x += 0.026818732 * sin(7.101753784 * p + 2.73230839482953)
17301730
return x * sign
17311731

17321732
_quartic_invcdf = _newton_raphson(

0 commit comments

Comments
 (0)