We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f5fbb commit ff5def4Copy full SHA for ff5def4
1 file changed
TESTS/unitTests.py
@@ -360,13 +360,13 @@ def test11(self):
360
pyRamp = pt.synthetic_images.ramp((200,200))
361
pyPyr = pt.pyramids.LaplacianPyramid(pyRamp)
362
recon = pyPyr.recon_pyr(levels=[1])
363
- np.testing.assert_allclose(matPyr['recon'], recon)
+ np.testing.assert_allclose(matPyr['recon'], recon, atol=1e-6)
364
def test12(self):
365
matPyr = scipy.io.loadmat(op.join(matfiles_path, 'buildLpyr12.mat'))
366
367
368
recon = pyPyr.recon_pyr(levels=[0, 2, 4])
369
370
371
class WpyrTests(unittest.TestCase):
372
def test0(self):
0 commit comments