Skip to content

Commit 6181f00

Browse files
committed
Pass maxiter to scipy.optimize.minimize
1 parent 39464e8 commit 6181f00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elfi/methods/bo/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ def minimize(fun,
9797
for i in range(n_start_points):
9898
result = scipy.optimize.minimize(fun, start_points[i, :],
9999
method=method, jac=grad,
100-
bounds=bounds, constraints=constraints)
100+
bounds=bounds, constraints=constraints,
101+
options={'maxiter': maxiter})
101102
locs.append(result['x'])
102103
vals[i] = result['fun']
103104

0 commit comments

Comments
 (0)