diff --git a/piglot/optimisers/botorch/bayes.py b/piglot/optimisers/botorch/bayes.py index 8c4b7cf..e9ddea8 100644 --- a/piglot/optimisers/botorch/bayes.py +++ b/piglot/optimisers/botorch/bayes.py @@ -159,7 +159,7 @@ def __init__( self.n_initial = n_initial self.acquisition = acquisition self.beta = beta - self.noisy = bool(noisy) or objective.stochastic + self.noisy = bool(noisy) self.q = q self.seed = seed self.load_file = load_file @@ -172,7 +172,7 @@ def __init__( self.acquisition = default_acquisition( objective.composition, objective.multi_objective, - self.noisy, + bool(noisy) or objective.stochastic, self.q, ) elif self.acquisition not in AVAILABLE_ACQUISITIONS: