Be more paranoid about initializing the RNG
Compare changes
Files
2+ 3
− 0
Beginning with 2nd June, only the "Single Sign On" option for login to the GitLab web interface will be possible. If you don't have an MPCDF wide second factor so far, please get one at our SelfService (https://selfservice.mpcdf.mpg.de). The GitLab internal second factor will not work.
This is an attempt to enforce reproducible runs. Whenever from_random
is called without a preceding random.init()
, an exception will be raised.
@parras, does this look OK in principle?
I also realized that there are still some direct calls to np.random
functionality within nifty6
, which I think is bad. We should replace this soon.