File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77
88[project ]
99name = " spotPython"
10- version = " 0.10.11 "
10+ version = " 0.10.12 "
1111authors = [
1212 { name =" T. Bartz-Beielstein" , email =" tbb@bartzundbartz.de" }
1313]
Original file line number Diff line number Diff 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):
You can’t perform that action at this time.
0 commit comments