Skip to content

Commit bac164e

Browse files
committed
Fix verbose mode
1 parent a676a50 commit bac164e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayes_opt/bayesian_optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def init(self, init_points):
105105
self.Y = np.append(self.Y, self.f(**dict(zip(self.keys, x))))
106106

107107
if self.verbose:
108-
self.plog.print_step(x, y_init[-1])
108+
self.plog.print_step(x, self.Y[-1])
109109

110110
# Append any other points passed by the self.initialize method (these
111111
# also have a corresponding target value passed by the user).

0 commit comments

Comments
 (0)