Skip to content

Commit

Permalink
also use observation_noise without mask in ModelList
Browse files Browse the repository at this point in the history
  • Loading branch information
swierh committed Feb 6, 2025
1 parent a43bd4d commit b7d0570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions botorch/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,8 @@ def fantasize(
sampler_i = (
sampler.samplers[i] if isinstance(sampler, ListSampler) else sampler
)
if observation_noise is not None:
observation_noise_i = observation_noise[..., i : i + 1]

fant_model = self.models[i].fantasize(
X=X_i,
Expand Down

0 comments on commit b7d0570

Please sign in to comment.