exB: stop setting the number of threads
This commit is contained in:
parent
c03778ca2f
commit
7f604f0a77
|
@ -19,7 +19,7 @@ def main(arg):
|
|||
errors = pool.map(compute_error, ns)
|
||||
case 'mt':
|
||||
from multiprocessing.pool import ThreadPool
|
||||
with ThreadPool(10) as pool:
|
||||
with ThreadPool() as pool:
|
||||
errors = pool.map(compute_error, ns)
|
||||
|
||||
for n, e in zip(ns, errors):
|
||||
|
|
Loading…
Reference in a new issue