Skip to content

Commit 1e09ae2

Browse files
committed
Typo (resolves #9)
1 parent ee54d14 commit 1e09ae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prtools/convolve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def fftconv(array, kernel, normalize_kernel=True, fft_array=True,
4040
"""
4141

4242
a = np.fft.fft2(array) if fft_array else array
43-
k = np.fft.fft2(array) if fft_kernel else kernel
43+
k = np.fft.fft2(kernel) if fft_kernel else kernel
4444

4545
if normalize_kernel:
4646
k /= np.sum(k)

0 commit comments

Comments
 (0)