summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2019-09-16 08:51:29 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2019-09-16 20:58:04 -0400
commitff11e2f0b7d06451860022564f0b173794860149 (patch)
tree6bcab48995db3a9c4c8e882fb9083ea59393b2fa /numpy/lib/tests/test_function_base.py
parent6e75b9ab7888e2d807893a8237811f97f605547e (diff)
downloadnumpy-ff11e2f0b7d06451860022564f0b173794860149.tar.gz
BUG: random: Create a legacy implementation of random.binomial.
Create a legacy implementation of the random_binomial method of RandomState that does not include the "short-circuit" check for n == 0 or p == 0. This ensures that the stream of variates is consistent with the behavior in 1.16. Closes gh-14522.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions