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

Commits on Sep 22, 2019

  1. 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 numpygh-14522.
    WarrenWeckesser authored and charris committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    dc441ee View commit details
    Browse the repository at this point in the history