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

Conversation

fingolfin
Copy link
Member

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

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`
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.17%. Comparing base (c062cc1) to head (653c94e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1914   +/-   ##
=======================================
  Coverage   88.17%   88.17%           
=======================================
  Files         120      120           
  Lines       30300    30300           
=======================================
  Hits        26718    26718           
  Misses       3582     3582           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joschmitt joschmitt enabled auto-merge (squash) November 27, 2024 12:02
@joschmitt joschmitt merged commit 530fa0f into master Nov 27, 2024
29 checks passed
@joschmitt joschmitt deleted the mh/rng branch November 27, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants