Skip to content

Commit 6dbb873

Browse files
v0.5.9
indices for logging hparams fixed
1 parent d84737a commit 6dbb873

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotPython"
10-
version = "0.5.8"
10+
version = "0.5.9"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotPython/spot/spot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def append_X_ocba(self, X_ocba, X0):
327327
def run(self, X_start=None):
328328
self.initialize_design(X_start)
329329
# New: self.update_stats() moved here:
330-
self.update_stats()
330+
# self.update_stats()
331331
# (S-5) Calling the spotLoop Function
332332
# and
333333
# (S-9) Termination Criteria, Conditions:
@@ -373,7 +373,8 @@ def initialize_design(self, X_start=None):
373373
writer = self.spot_writer
374374
# range goes to init_size -1 because the last value is added by update_stats(),
375375
# which always adds the last value.
376-
for j in range(len(self.y) - 1):
376+
# Changed in 0.5.9:
377+
for j in range(len(self.y)):
377378
X_j = self.X[j].copy()
378379
y_j = self.y[j].copy()
379380
config = {self.var_name[i]: X_j[i] for i in range(self.k)}

0 commit comments

Comments
 (0)