Skip to content

Commit

Permalink
more macos testing
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Oct 22, 2024
1 parent d3772d0 commit 0220cb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ndfilters/_convolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _convolve_1d(

if where[it, jx]:
array_tx = array[it, jx]
kernel_tx = kernel[it, ~kx]
kernel_tx = kernel[it, kx]
r += array_tx * kernel_tx

result[it, ix] = r
Expand Down Expand Up @@ -247,7 +247,7 @@ def _convolve_2d(

if where[it, jx, jy]:
array_txy = array[it, jx, jy]
kernel_txy = kernel[it, ~kx, ~ky]
kernel_txy = kernel[it, kx, ky]
r += array_txy * kernel_txy

result[it, ix, iy] = r
Expand Down Expand Up @@ -320,7 +320,7 @@ def _convolve_3d(

if where[it, jx, jy, jz]:
array_txyz = array[it, jx, jy, jz]
kernel_txyz = kernel[it, ~kx, ~ky, ~kz]
kernel_txyz = kernel[it, kx, ky, kz]
r += array_txyz * kernel_txyz

result[it, ix, iy, iz] = r
Expand Down

0 comments on commit 0220cb4

Please sign in to comment.