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

Use a local RNG for reproduceable results #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Permafacture
Copy link

This is the recommended practice for using numpy random numbers. Setting an RNG within the function means the results will always be reproduce-able regardless of what other functions in the main program are also consuming random numbers

@jaroslavknotek
Copy link

@pvigier Is it possible to merge this PR? There are no breaking changes involved therefore release should be smooth.

@mcejp
Copy link

mcejp commented Jul 21, 2024

For what it's worth, I added this in my fork, which is also published on PyPI :)

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

Successfully merging this pull request may close these issues.

3 participants