Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
saitcakmak committed Nov 8, 2020
1 parent 85a1efe commit d3d4497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/acquisition/test_knowledge_gradient.py
Expand Up @@ -445,9 +445,10 @@ def test_evaluate_qMFKG(self):
raw_samples=1,
)
patch_f.asset_called_once()
cargs, ckwargs = patch_f.call_args
self.assertTrue(
(
patch_f.call_args.kwargs["X"]
ckwargs["X"]
== torch.ones(2, 1, 1, device=self.device, dtype=dtype)
).all()
)
Expand Down

0 comments on commit d3d4497

Please sign in to comment.