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

MersenneTwister: hash seeds like for Xoshiro #51436

Merged
merged 2 commits into from
Sep 29, 2023
Merged

MersenneTwister: hash seeds like for Xoshiro #51436

merged 2 commits into from
Sep 29, 2023

Commits on Sep 29, 2023

  1. MersenneTwister: hash seeds like for Xoshiro

    This addresses a part of #37165:
    
    > It's common that sequential seeds for RNGs are not as independent as one might like.
    
    This clears out this problem for `MersenneTwister`, and makes it easy to
    add the same feature to other RNGs via a new `hash_seed` function, which
    replaces `make_seed`.
    
    This is an alternative to #37766.
    rfourquet committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c2159e4 View commit details
    Browse the repository at this point in the history
  2. fix doctests

    rfourquet committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4f4ee83 View commit details
    Browse the repository at this point in the history