Skip to content

Commit 190bbe9

Browse files
committed
Silence mypy error
1 parent 4f48d6b commit 190bbe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baybe/surrogates/naive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _estimate_moments(
3737
import torch
3838

3939
# TODO: use target value bounds for covariance scaling when explicitly provided
40-
mean = self._model * torch.ones([len(candidates_comp_scaled)])
40+
mean = self._model * torch.ones([len(candidates_comp_scaled)]) # type: ignore[operator]
4141
var = torch.ones(len(candidates_comp_scaled))
4242
return mean, var
4343

0 commit comments

Comments
 (0)