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

is RNG note about Mersenne Twister correct? #803

Open
paciorek opened this issue Oct 17, 2024 · 1 comment
Open

is RNG note about Mersenne Twister correct? #803

paciorek opened this issue Oct 17, 2024 · 1 comment

Comments

@paciorek
Copy link

Section 1.3.1 seems to incorrectly indicate that the default PRNG is Mersenne not PCG64.

np.random: random numbers (Mersenne Twister PRNG):

This conflicts with the actual behavior:

>>> import numpy as np
>>> rng = np.random.default_rng(27446968)
>>> rng
Generator(PCG64) at 0x7FD121D4DD20
@stefanv
Copy link
Member

stefanv commented Oct 17, 2024

Thanks, Chris! Looks like that slipped through when we migrated the text to the new RNG pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants