Skip to content

Commit

Permalink
Make tests pass on aarch64-linux (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
albcab committed May 13, 2024
1 parent 40efb6c commit af79fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/adaptation/test_adaptation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ def test_chees_adaptation():
)(chain_keys, last_states)

harmonic_mean = 1.0 / jnp.mean(1.0 / infos.acceptance_rate)
np.testing.assert_allclose(harmonic_mean, 0.75, rtol=1e-1)
np.testing.assert_allclose(harmonic_mean, 0.75, atol=1e-1)
np.testing.assert_allclose(parameters["step_size"], 1.5, rtol=2e-1)
np.testing.assert_array_less(infos.num_integration_steps.mean(), 15.0)

0 comments on commit af79fa4

Please sign in to comment.