Open Permafacture opened 9 months ago
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
@pvigier Is it possible to merge this PR? There are no breaking changes involved therefore release should be smooth.
For what it's worth, I added this in my fork, which is also published on PyPI :)
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