Skip to content

Commit

Permalink
tighter tol
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque committed Aug 26, 2024
1 parent 9474860 commit 55ddaab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/common/test_lbfgs_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ def test_lbfgs_write_trajectory(save_full_traj, steps, batch, calculator, tmp_pa

# make sure all written frames are unique
for a1, a2 in combinations(traj, r=2):
assert not np.allclose(a1.positions, a2.positions, atol=1e-3)
assert not np.allclose(a1.positions, a2.positions, atol=1e-5)

0 comments on commit 55ddaab

Please sign in to comment.