Commit d66c69de authored by Jérome Perrin's avatar Jérome Perrin

use xrange otherwise we easilly run out of memory

parent c4bc622a
...@@ -284,7 +284,7 @@ def main(argv=[], input_data=None): ...@@ -284,7 +284,7 @@ def main(argv=[], input_data=None):
setTopology() setTopology()
#run the experiment (replications) #run the experiment (replications)
for i in range(G.numberOfReplications): for i in xrange(G.numberOfReplications):
print "start run number "+str(i+1) print "start run number "+str(i+1)
G.seed+=1 G.seed+=1
G.Rnd=Random(G.seed) G.Rnd=Random(G.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