Skip to content

Commit

Permalink
Merge branch 'master' into deprecate/copy_arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
nden authored Jul 22, 2024
2 parents 6ac17df + 4a1e104 commit 4e289c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gwcs/tests/test_wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ def test_sip_roundtrip():
assert hdr[k] == hdr_back[k]

for k in ['cd1_1', 'cd1_2', 'cd2_1', 'cd2_2']:
assert np.allclose(hdr[k], hdr_back[k], atol=0, rtol=1e-9)
assert np.allclose(hdr[k], hdr_back[k], atol=1e-14, rtol=1e-9)

for t in ('a', 'b'):
order = hdr[f'{t}_order']
Expand All @@ -1284,7 +1284,7 @@ def test_sip_roundtrip():
assert np.allclose(
hdr[k],
hdr_back[k],
atol=0.0,
atol=1e-15,
rtol=1.0e-8 * 10**(i + j)
)

Expand Down

0 comments on commit 4e289c3

Please sign in to comment.