From bf9367470a204a820d9d9913947b9201e71601f6 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Tue, 13 Feb 2024 18:28:56 +0100 Subject: [PATCH] fix: update name. --- modopt/opt/linear/wavelet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modopt/opt/linear/wavelet.py b/modopt/opt/linear/wavelet.py index 3fa2d60d..5feead66 100644 --- a/modopt/opt/linear/wavelet.py +++ b/modopt/opt/linear/wavelet.py @@ -96,7 +96,7 @@ def __init__(self, if compute_backend == "cupy" and ptwt_available: self.operator = CupyWaveletTransform(wavelet=wavelet_name, shape=shape, level=level, mode=mode) elif compute_backend == "numpy" and pywt_available: - self.operator = CPUWaveletTransform(wavelet_name=wavelet_name, shape=shape, nb_scales=level, **kwargs) + self.operator = CPUWaveletTransform(wavelet_name=wavelet_name, shape=shape, level=level, **kwargs) else: raise ValueError(f"Compute Backend {compute_backend} not available")