Skip to content

Commit 1bd7b10

Browse files
Fix review comments pt.1
1 parent d73d748 commit 1bd7b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_iface_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def _convolve_fft(a, v, l_pad, r_pad, rtype):
527527

528528
# +1 is needed to avoid circular convolution
529529
padded_size = a.size + r_pad + 1
530-
fft_size = 2 ** math.ceil(math.log2(padded_size))
530+
fft_size = 2 ** int(math.ceil(math.log2(padded_size)))
531531

532532
af = dpnp.fft.fft(a, fft_size) # pylint: disable=no-member
533533
vf = dpnp.fft.fft(v, fft_size) # pylint: disable=no-member

0 commit comments

Comments
 (0)