Skip to content

Commit

Permalink
Relax DFT precision error somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Jan 25, 2024
1 parent 8620280 commit b9a27e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion africanus/dft/tests/test_dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_adjointness():
RHS = (RH(gamma_vis, uvw, lm, frequency, flag).reshape(
size_im, 1).T.dot(gamma_im.reshape(size_im, 1))).real

assert np.abs(LHS - RHS) < 1e-14
assert np.abs(LHS - RHS) < 1e-13


def test_vis_to_im_flagged():
Expand Down

0 comments on commit b9a27e5

Please sign in to comment.