Skip to content

Commit

Permalink
after hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHebing committed Dec 11, 2024
1 parent 8ee6bf2 commit bc36747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bofire/utils/test_torch_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def test_get_multiplicative_botorch_objective():
reward2 = obj2(a_samples[:, 1])
# do the comparison
w1, w2 = obj1.w, obj2.w
w1, w2 = [w/min(w1, w2) for w in [w1, w2]]
w1, w2 = [w / min(w1, w2) for w in [w1, w2]]

assert np.allclose(
# objective.reward(samples, desFunc)[0].detach().numpy(),
Expand Down

0 comments on commit bc36747

Please sign in to comment.