Skip to content

Commit 50c5693

Browse files
committed
TST: fix test failure for cwt matlab comparison
1 parent 19f0560 commit 50c5693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywt/tests/test_matlab_compatibility_cwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _load_matlab_result_psi(wavelet):
149149

150150
def _check_accuracy(data, w, scales, coefs, wavelet, epsilon):
151151
# PyWavelets result
152-
coefs_pywt, freq = pywt.cwt(data, scales, w)
152+
coefs_pywt, freq = pywt.cwt(data, scales, w, precision=10)
153153

154154
# coefs from Matlab are from R2012a which is missing the complex conjugate
155155
# as shown in Eq. 2 of Torrence and Compo. We take the complex conjugate of

0 commit comments

Comments
 (0)