Skip to content

Commit 7fd9048

Browse files
committed
Fix bounds if no transform of variables
1 parent 0f0b9ef commit 7fd9048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/popt/loop/ensemble_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self, options, simulator, objective):
8080
var = np.clip(var, 0, 1, out=var)
8181
self.bounds += mean.size*[(0, 1)]
8282
else:
83-
self.bounds.append((lb, ub))
83+
self.bounds += mean.size*[(lb, ub)]
8484

8585
# Fill in lb and ub vectors
8686
self.lb = np.append(self.lb, lb*np.ones(mean.size))

0 commit comments

Comments
 (0)