Skip to content

Commit

Permalink
test precision
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlane committed Oct 26, 2024
1 parent 5641960 commit 8f1c578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional/test_compute_difference_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ def test_script_produces_consistent_results(
err_msg="tv weight optimium different from expected",
)
else:
optimal_tv_with_weighting = 0.00867
np.testing.assert_allclose(
tv_weight,
optimal_tv_with_weighting,
result_metadata.optimal_weight,
rtol=0.1,
err_msg="tv weight optimium different from expected",
Expand Down

0 comments on commit 8f1c578

Please sign in to comment.