Skip to content

Commit

Permalink
Fix Coriolis test
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 30, 2023
1 parent b19cd45 commit 8f37953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_coriolis.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def test_coriolis(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
# Compute model acceleration with ABA
H, H_dot, C = model.coriolis_matrix()

assert np.allclose(H_dot - (C @ C.T), jnp.zeros_like(H_dot))
assert np.allclose(H_dot - (C @ C.T), np.zeros_like(H_dot), atol=1e-5)

0 comments on commit 8f37953

Please sign in to comment.