Skip to content

Use a local RNG for reproduceable results#15

Open
Permafacture wants to merge 1 commit intopvigier:masterfrom
Permafacture:master
Open

Use a local RNG for reproduceable results#15
Permafacture wants to merge 1 commit intopvigier:masterfrom
Permafacture:master

Conversation

@Permafacture
Copy link
Copy Markdown

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
Copy Markdown

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

@mcejp
Copy link
Copy Markdown

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