diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2022-07-26 07:23:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 07:23:33 (GMT) |
commit | 4395ff1e6a18fb26c7a66b1c29b34ed60ddd001c (patch) | |
tree | 3a9eed8eeba2e1dabeeffd38f79165cc24d05936 /Modules/_statisticsmodule.c | |
parent | b7ce4625fe2a8a4d6c1db6b39b52c7f97d384caa (diff) | |
download | cpython-4395ff1e6a18fb26c7a66b1c29b34ed60ddd001c.zip cpython-4395ff1e6a18fb26c7a66b1c29b34ed60ddd001c.tar.gz cpython-4395ff1e6a18fb26c7a66b1c29b34ed60ddd001c.tar.bz2 |
Statistics inv_cdf sync with corresponding random module normal distributions (#95265)
Diffstat (limited to 'Modules/_statisticsmodule.c')
-rw-r--r-- | Modules/_statisticsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_statisticsmodule.c b/Modules/_statisticsmodule.c index 78c0676..b9d1e4f 100644 --- a/Modules/_statisticsmodule.c +++ b/Modules/_statisticsmodule.c @@ -31,7 +31,7 @@ _statistics__normal_dist_inv_cdf_impl(PyObject *module, double p, double mu, /*[clinic end generated code: output=02fd19ddaab36602 input=24715a74be15296a]*/ { double q, num, den, r, x; - if (p <= 0.0 || p >= 1.0 || sigma <= 0.0) { + if (p <= 0.0 || p >= 1.0) { goto error; } |