Skip to content

Commit

Permalink
reduce assertion absolute tollerance
Browse files Browse the repository at this point in the history
  • Loading branch information
dimarkov committed Jun 17, 2024
1 parent bfc1346 commit 62a6e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_message_passing_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test_fixed_point_iteration(self):
qs_jax = fpi_jax(A, obs, prior, num_iter=16)

for f, _ in enumerate(qs_jax):
self.assertTrue(np.allclose(qs_numpy[f], qs_jax[f]))
self.assertTrue(np.allclose(qs_numpy[f], qs_jax[f], atol=1e-6))


def test_fixed_point_iteration_factorized_fullyconnected(self):
Expand Down

0 comments on commit 62a6e87

Please sign in to comment.