Commit 7694232c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

do not test single precision for small epsilon

parent 6a6b4293
......@@ -84,10 +84,12 @@ def test_adjointness_wgridding(nxdirty, nydirty, nrow, nchan, epsilon):
@pmp("nydirty", (128, 250))
@pmp("nrow", (1, 10, 10000))
@pmp("nchan", (1, 10, 100))
@pmp("epsilon", (1e-2, 1e-3, 1e-5, 1e-6, 1e-7, 2e-13))
@pmp("epsilon", (1e-2, 1e-3, 5e-5, 1e-6, 1e-7, 2e-13))
@pmp("singleprec", (True, False))
@pmp("wstacking", (True, False))
def test_adjointness_wgridding_highlevel(nxdirty, nydirty, nrow, nchan, epsilon, singleprec, wstacking):
if singleprec and epsilon < 5e-5:
return
np.random.seed(42)
pixsizex = np.pi/180/60/nxdirty*0.2398
pixsizey = np.pi/180/60/nxdirty
......
Markdown is supported
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