Skip to content

Commit

Permalink
test: lowers a bit the tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
bpiwowar committed Mar 10, 2024
1 parent c30df48 commit 62272b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpmir/test/neural/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,5 @@ def test_forward_consistency(modelfactory, inputfactoriescouple):
s1 = outputs[0][maps[0][key]].item()
s2 = outputs[1][maps[1][key]].item()
assert s1 == pytest.approx(
s2
s2, abs=1e-6
), f"{s1} different from {s2} in {outputs[0]}, {outputs[1]}"

0 comments on commit 62272b6

Please sign in to comment.