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

ENH: Move away from numpy legacy random number generator syntax #349

Open
jcapriot opened this issue Mar 11, 2024 · 0 comments
Open

ENH: Move away from numpy legacy random number generator syntax #349

jcapriot opened this issue Mar 11, 2024 · 0 comments

Comments

@jcapriot
Copy link
Member

Anywhere we are generating numbers using np.random.rand (or similar) We should allow the user to pass an argument for a generator.
It would be numpy.random.Generator, int, or None, (in the case of int or None, it would create a new generator with numpy.random.default_rng(seed)

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

No branches or pull requests

1 participant