Skip to content

Commit d52608b

Browse files
Documentation fixed
1 parent ebbc427 commit d52608b

2 files changed

Lines changed: 5 additions & 5 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.10.11"
10+
version = "0.10.12"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotPython/utils/init.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ def surrogate_control_init(
358358
noise=False,
359359
model_optimizer=differential_evolution,
360360
model_fun_evals=10000,
361-
min_theta=-3,
362-
max_theta=2,
361+
min_theta=-3.0,
362+
max_theta=2.0,
363363
n_theta=1,
364-
p_val=2,
364+
p_val=2.0,
365365
n_p=1,
366366
optim_p=False,
367367
min_Lambda=1e-9,
@@ -391,7 +391,7 @@ def surrogate_control_init(
391391
The number of theta values. If larger than 1, then the k theta values are
392392
used, where k is the problem dimension. Default is 1.
393393
p_val (float):
394-
p value. Used as an initial value if optim_p = True. Otherwise as a constant. Defaults to 2.
394+
p value. Used as an initial value if optim_p = True. Otherwise as a constant. Defaults to 2.0.
395395
n_p (int):
396396
The number of p values. Number of p values to be used. Default is 1.
397397
optim_p (bool):

0 commit comments

Comments
 (0)