Skip to content

Commit

Permalink
Fix tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Aug 8, 2024
1 parent 8552631 commit 326519c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def assert_approx_equality(v_out, v_ref) -> None:
err = np.abs(v_out - v_ref).mean()
mag = np.abs(v_ref).mean()
print(err / mag)
assert err / mag <= 1e-5
assert err / mag <= 1e-4

# Check the outputs.
for k in pred.surf_vars:
Expand Down

0 comments on commit 326519c

Please sign in to comment.