Skip to content

Commit

Permalink
test_cwt_batch can have small differences on some arches (resolves #640
Browse files Browse the repository at this point in the history
…) (#641)
  • Loading branch information
opoplawski committed Sep 12, 2022
1 parent 3dd186c commit fbc677d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pywt/tests/test_cwt_wavelets.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,8 @@ def test_cwt_batch(axis, method):
assert_equal(cfs.shape[1 + axis], sst.shape[axis])

# batch result on stacked input is the same as stacked 1d result
assert_equal(cfs, np.stack((cfs1,) * n_batch, axis=batch_axis + 1))
assert_almost_equal(cfs, np.stack((cfs1,) * n_batch, axis=batch_axis + 1),
decimal=12)


def test_cwt_small_scales():
Expand Down

0 comments on commit fbc677d

Please sign in to comment.