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

Replace GLOBAL_RNG with default_rng() #104

Merged
merged 3 commits into from
Jun 8, 2022
Merged

Replace GLOBAL_RNG with default_rng() #104

merged 3 commits into from
Jun 8, 2022

Conversation

devmotion
Copy link
Member

In Julia >= 1.3, actually Random.default_rng() is the intended (and now also properly documented: JuliaLang/julia#44733) way to obtain the default RNG.

@codecov
Copy link

codecov bot commented Jun 1, 2022

Codecov Report

Merging #104 (a954259) into master (346c6a2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #104   +/-   ##
=======================================
  Coverage   97.78%   97.78%           
=======================================
  Files           7        7           
  Lines         271      271           
=======================================
  Hits          265      265           
  Misses          6        6           
Impacted Files Coverage Δ
src/sample.jl 97.66% <100.00%> (ø)
src/stepper.jl 100.00% <100.00%> (ø)
src/transducer.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b75d15...a954259. Read the comment docs.

@devmotion
Copy link
Member Author

Seems CI doesn't like me 😄 The code and the tests seem fine, and the errors are not really reproducible (it's a different test that fails this time, and the downstream test seems to be a bit too strict and would require another tolerance or seed I assume).

Copy link
Member

@cpfiffer cpfiffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is CI good for, anyway

@devmotion devmotion merged commit a9ba4d3 into master Jun 8, 2022
@devmotion devmotion deleted the dw/default_rng branch June 8, 2022 08:42
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