Skip to content

Commit 01f712b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e747542 commit 01f712b

File tree

1 file changed

+1
-3
lines changed
  • optimas/generators/ax/service

1 file changed

+1
-3
lines changed

optimas/generators/ax/service/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ def suggest(self, num_points: Optional[int]) -> List[dict]:
159159

160160
def _ignore_out_of_bounds(self, trial: Trial) -> None:
161161
"""Check if trial parameters are within their bounds."""
162-
for var, value in zip(
163-
trial.varying_parameters, trial.parameter_values
164-
):
162+
for var, value in zip(trial.varying_parameters, trial.parameter_values):
165163
if value < var.lower_bound or value > var.upper_bound:
166164
if not self._fit_out_of_design:
167165
ignore_reason = (

0 commit comments

Comments
 (0)