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

Use Random.default_rng() instead of Random.GLOBAL_RNG #1914

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Commits on Nov 27, 2024

  1. Use Random.default_rng() instead of Random.GLOBAL_RNG

    Julia has this to say about `GLOBAL_RNG`:
    
    > defined only for backward compatibility with pre-v1.3 code when
    > `default_rng()` didn't exist; `GLOBAL_RNG` was never really
    > documented, but was appearing in the docstring of `rand`
    fingolfin committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    653c94e View commit details
    Browse the repository at this point in the history