Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: random: Create a legacy implementation of random.binomial. #14578

Merged
merged 1 commit into from Sep 22, 2019

Conversation

charris
Copy link
Member

@charris charris commented Sep 22, 2019

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.

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 numpygh-14522.
@charris charris added this to the 1.17.3 release milestone Sep 22, 2019
@charris charris merged commit 51826db into numpy:maintenance/1.17.x Sep 22, 2019
@charris charris deleted the backport-14531 branch September 23, 2019 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants