Commit 73534ae1 authored by David A.. Werner's avatar David A.. Werner
Browse files

Use all available threads

parent f47a387a
......@@ -10,7 +10,7 @@ def random_manduca():
return SimpleManduca.random_individual(num_legs, time_segments, time_step)
pool = multiprocessing.Pool(int(0.9*multiprocessing.cpu_count()))
pool = multiprocessing.Pool(int(multiprocessing.cpu_count()))
simulator = EvolutionSimulator((random_manduca, POPULATION_SIZE), pool=pool)
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