Skip to content

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