-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Xoshiro(seed) constructor, and extend some tests to Xoshiro
Usually, a seed should be equally valid for an RNG constructor or for a call to `seed!`, as `seed!`'s docstring mentions: > After the call to seed!, rng is equivalent to a newly created object > initialized with the same seed. We also remove here the constructor `Xoshiro(::Any, ::Any, ::Any, ::Any)`, to instead accept only four `UInt64` integers. This is a low-level constructor (which does not do any hashing), so this deleted "convenience" constructor shouldn't be needed.
- Loading branch information
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters