We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bbac72 commit efdbde0Copy full SHA for efdbde0
baybe/searchspace/continuous.py
@@ -515,7 +515,7 @@ def _sample_from_polytope(
515
n_params = len(self.comp_rep_columns)
516
eq_constraints, ineq_constraints = [], []
517
518
- for c in [*self.constraints_lin_eq, *self.constraints_lin_ineq]:
+ for c in self.constraints_lin_eq + self.constraints_lin_ineq:
519
if not c.is_interpoint:
520
param_indices, coefficients, rhs = c.to_botorch(self.parameters)
521
for b in range(batch_size):
0 commit comments