Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianp committed Jan 9, 2017
1 parent fd6dc55 commit c201d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copt/stochastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def fmin_SAGA(

# .. iterate on epochs ..
for it in range(max_iter):
with futures.ThreadPoolExecutor() as executor:
with futures.ThreadPoolExecutor(max_workers=n_jobs) as executor:
fut = []
for _ in range(n_jobs):
fut.append(executor.submit(
Expand Down

0 comments on commit c201d47

Please sign in to comment.