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

re-enable the 0-arg MersenneTwister() constructor #21909

Merged
merged 1 commit into from
Sep 3, 2017
Merged

Commits on Sep 3, 2017

  1. re-enable the 0-arg MersenneTwister() constructor

    The arguments to `srand(rng, ...)` and `typeof(rng)(...)`
    should mirror each-other, in particular
    `srand(MersenneTwister(0))` and `MersenneTwister()` should
    produce an equivalent object.
    Also, `srand(::RandomDevice)` has been added for consistency,
    which could be useful in generic code.
    rfourquet committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    81b839d View commit details
    Browse the repository at this point in the history