Skip to content

Commit efdbde0

Browse files
committed
Improve mixing lists of constraints
1 parent 4bbac72 commit efdbde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baybe/searchspace/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def _sample_from_polytope(
515515
n_params = len(self.comp_rep_columns)
516516
eq_constraints, ineq_constraints = [], []
517517

518-
for c in [*self.constraints_lin_eq, *self.constraints_lin_ineq]:
518+
for c in self.constraints_lin_eq + self.constraints_lin_ineq:
519519
if not c.is_interpoint:
520520
param_indices, coefficients, rhs = c.to_botorch(self.parameters)
521521
for b in range(batch_size):

0 commit comments

Comments
 (0)