Skip to content

Commit f0cff4b

Browse files
committed
bugfix: l-bfgs-b acq
1 parent e487e5f commit f0cff4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayes_opt/acquisition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def _l_bfgs_b_minimize(
300300
continue
301301

302302
# Store it if better than previous minimum(maximum).
303-
if min_acq is None or np.squeeze(res.fun) >= min_acq:
303+
if min_acq is None or np.squeeze(res.fun) <= min_acq:
304304
x_min = res.x
305305
min_acq = np.squeeze(res.fun)
306306

0 commit comments

Comments
 (0)