Skip to content

Commit 23a5f4b

Browse files
committed
Fix incorrect call of get_method
1 parent d24d714 commit 23a5f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysteps/cascade/decomposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def decomposition_fft(X, filter, **kwargs):
5353
levels is determined from the filter (see bandpass_filters.py).
5454
5555
"""
56-
fft,fft_kwargs = kwargs.get("fft", fft_module.get_method("numpy"))
56+
fft,fft_kwargs = fft_module.get_method(kwargs.get("fft_method", "numpy"))
5757
MASK = kwargs.get("MASK", None)
5858

5959
if len(X.shape) != 2:

0 commit comments

Comments
 (0)