Skip to content

Commit cbc54e0

Browse files
authored
fix flaky test, remove high tolerance (#7567)
* fix flaky test, remove high tolerance * increase rtol
1 parent f551718 commit cbc54e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/gp/test_gp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ def testLatentMultioutput(self):
409409
== numpy_rv_logp.shape.eval()
410410
)
411411

412-
npt.assert_allclose(latent_rv_logp.eval(), marginal_rv_logp.eval(), atol=5)
413-
npt.assert_allclose(latent_rv_logp.eval(), numpy_rv_logp.eval(), atol=5)
414-
npt.assert_allclose(marginal_rv_logp.eval(), numpy_rv_logp.eval(), atol=5)
412+
npt.assert_allclose(latent_rv_logp.eval({"f": y}), marginal_rv_logp.eval(), rtol=1e-4)
413+
npt.assert_allclose(latent_rv_logp.eval({"f": y}), numpy_rv_logp.eval(), rtol=1e-4)
414+
npt.assert_allclose(marginal_rv_logp.eval(), numpy_rv_logp.eval(), rtol=1e-4)
415415

416416

417417
class TestTP:

0 commit comments

Comments
 (0)