Commit 738ef6d0 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

adjust tolerance

parent e87c64c2
......@@ -117,7 +117,7 @@ def test_adjointness_wgridding_highlevel(nxdirty, nydirty, nrow, nchan, epsilon,
f2 = ng.degridding_f
dirty2 = f1(uvw, freq, vis, None, nxdirty, nydirty, pixsizex, pixsizey, epsilon, 1, 0).astype("f8")
vis2 = f2(uvw, freq, dirty, None, pixsizex, pixsizey, epsilon, 1, 0).astype("c16")
tol = 5e-5 if singleprec else 2e-13
tol = 5e-5 if singleprec else 5e-13
assert_allclose(np.vdot(vis, vis2).real, np.vdot(dirty2, dirty),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment