Commit 59c5901d authored by Georgios Dagkakis's avatar Georgios Dagkakis

NumPy random number generator to be set correctly

parent 582fca7f
...@@ -668,7 +668,7 @@ def main(argv=[], input_data=None): ...@@ -668,7 +668,7 @@ def main(argv=[], input_data=None):
if G.seed: if G.seed:
G.Rnd=Random('%s%s' % (G.seed, i)) G.Rnd=Random('%s%s' % (G.seed, i))
G.numpyRnd.random.seed(G.seed) G.numpyRnd.random.seed(G.seed+i)
else: else:
G.Rnd=Random() G.Rnd=Random()
G.numpyRnd.random.seed() G.numpyRnd.random.seed()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment