Closed odunbar closed 4 years ago
Resolution of issue appears to be setting BOTH numpy and random random number generators:
import numpy as np import random
import numpy as np
import random
np.random.seed(111) random.seed(222)
np.random.seed(111)
random.seed(222)
We want to use a single random number generator This is well documented in EoN https://github.com/springer-math/Mathematics-of-Epidemics-on-Networks/issues/22#issuecomment-633029062
This issue is solved by setting the corresponding seeds as outlined above.
Resolution of issue appears to be setting BOTH numpy and random random number generators:
import numpy as np
import random
np.random.seed(111)
random.seed(222)
We want to use a single random number generator This is well documented in EoN https://github.com/springer-math/Mathematics-of-Epidemics-on-Networks/issues/22#issuecomment-633029062