diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2018-11-12 16:53:13 -0500 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2018-11-12 16:53:13 -0500 |
commit | 360de1b8d80b0baeed7a917e96c6d81674066879 (patch) | |
tree | c45a168c9c2db73fc3620a3f649f4d14c4af9cb8 /numpy/lib/tests/test_regression.py | |
parent | e34f5bb4e3aad2bb35fb6d9e3a5c1bfc85eb97eb (diff) | |
download | numpy-360de1b8d80b0baeed7a917e96c6d81674066879.tar.gz |
BUG: random: Fix handling of a=0 for numpy.random.weibull.
Before this fix, np.random.weibull(a=0) often returned inf (and
in theory could have returned 1). It should only return 0.
Closes gh-12371.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
0 files changed, 0 insertions, 0 deletions