mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Statistics inv_cdf sync with corresponding random module normal distributions (#95265)
This commit is contained in:
parent
b7ce4625fe
commit
4395ff1e6a
3 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue