Skip to content

Commit

Permalink
Update tests to reflect change in scale of weights
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Nov 14, 2024
1 parent 9ab9e28 commit 8c06034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/algorithms/symmetry/cosym/test_cosym_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ def test_cosym_target(space_group):
g = t.compute_gradients(minimizer.coords)
g_fd = t.compute_gradients_fd(minimizer.coords)
assert f < f0
assert pytest.approx(g, abs=1e-3) == [0] * len(g)
assert pytest.approx(g_fd, abs=1e-3) == [0] * len(g)
assert pytest.approx(list(g), abs=2e-3) == [0] * len(g)
assert pytest.approx(g_fd, abs=2e-3) == [0] * len(g)

0 comments on commit 8c06034

Please sign in to comment.