Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Scienfitz committed May 16, 2024
1 parent b839eb1 commit cc45fa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baybe/constraints/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def to_botorch(
if p in param_names
]

# TODO: Cast rhs to correct precision once BoTorch also supports single point.
return (
torch.tensor(param_indices),
torch.tensor(self.coefficients, dtype=DTypeFloatTorch),
Expand Down

0 comments on commit cc45fa4

Please sign in to comment.