Skip to content

Commit

Permalink
Slightly increase error tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
Hespe committed Dec 13, 2024
1 parent be050f8 commit 5292a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_vectorized.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,11 @@ def test_vectorized_aperture_broadcasting(aperture_shape):
assert np.allclose(
outgoing.survival_probabilities.mean(dim=-1)[:, 0],
[0.077, 0.945, 0.995],
atol=1e-3, # Last digit off by one
atol=2e-3, # Last digit off by two
)
elif aperture_shape == "rectangular":
assert np.allclose(
outgoing.survival_probabilities.mean(dim=-1)[:, 0],
[0.079, 0.954, 0.997],
atol=1e-3, # Last digit off by one
atol=2e-3, # Last digit off by two
)

0 comments on commit 5292a34

Please sign in to comment.