Skip to content

Commit

Permalink
fix tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
linznedd committed Dec 12, 2024
1 parent 388e79e commit 5374b4b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bofire/strategies/doe_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,8 @@ def _ask(self, candidate_count: PositiveInt) -> pd.DataFrame: # type: ignore

def get_required_number_of_experiments(self) -> Optional[int]:
if self.formula:
return (
get_n_experiments(self.formula)
- n_zero_eigvals(domain=self.data_model.domain, model_type=self.formula)
+ 3
return get_n_experiments(self.formula) - n_zero_eigvals(
domain=self.data_model.domain, model_type=self.formula
)
else:
ValueError(
Expand Down

0 comments on commit 5374b4b

Please sign in to comment.