Skip to content

Commit

Permalink
Loosen tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Aug 8, 2024
1 parent 326519c commit 0552ff8
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-4
assert err / mag <= 1e-3

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

0 comments on commit 0552ff8

Please sign in to comment.