We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bf907d commit f4d4a7bCopy full SHA for f4d4a7b
2 files changed
pyproject.toml
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
8
[project]
9
name = "spotPython"
10
-version = "0.5.11"
+version = "0.5.12"
11
authors = [
12
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
13
]
src/spotPython/spot/spot.py
@@ -150,6 +150,9 @@ def __init__(
150
optimizer=None,
151
optimizer_control={},
152
):
153
+ # use x0, x1, ... as default variable names:
154
+ if var_name is None:
155
+ var_name = ["x" + str(i) for i in range(len(lower))]
156
# small value:
157
self.eps = sqrt(spacing(1))
158
self.fun = fun
0 commit comments