Skip to content

Commit

Permalink
fix regression test data for parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Jan 15, 2024
1 parent 2475605 commit e74adbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified gradunwarp/core/tests/data/siemens_B_output.npz
Binary file not shown.
4 changes: 2 additions & 2 deletions gradunwarp/core/tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def test_siemens_B():
beta_d = getattr(siemens_coeffs, f"beta_{d}")
bd = siemens_B(alpha_d, beta_d, r, cos_theta, theta, phi, R0)

# changes in legendre function is causing differences at 6th decimal
assert_array_almost_equal(ref_b[f"b{d}"], bd, decimal=4)
# changes in legendre function is causing differences at 5th decimal
assert_array_almost_equal(ref_b[f"b{d}"], bd, decimal=5)

0 comments on commit e74adbb

Please sign in to comment.