Skip to content

Commit 9cd510c

Browse files
committed
Fix misprinting the iteration number in logger
1 parent 8e7a286 commit 9cd510c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayes_opt/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _print_step(
168168
# iter, target, allowed [, *params]
169169
cells: list[str | None] = [None] * (3 + len(keys))
170170

171-
cells[:2] = self._format_number(self._iterations + 1), self._format_number(result["target"])
171+
cells[:2] = self._format_number(self._iterations), self._format_number(result["target"])
172172
if self._is_constrained:
173173
cells[2] = self._format_bool(result["allowed"])
174174
params = result.get("params", {})

0 commit comments

Comments
 (0)