Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Aug 6, 2024
1 parent e61df05 commit 89bffdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndfilters/_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _generic_filter_2d(
for iy in numba.prange(array_shape_y):

values = np.empty(shape=size)
mask = np.empty(shape=size, dtype=numba.types.bool_)
mask = np.empty(shape=size, dtype=np.bool_)

for kx in range(kernel_shape_x):

Expand Down Expand Up @@ -246,7 +246,7 @@ def _generic_filter_3d(
for iz in numba.prange(array_shape_z):

values = np.empty(shape=size)
mask = np.empty(shape=size, dtype=numba.types.bool_)
mask = np.empty(shape=size, dtype=np.bool_)

for kx in range(kernel_shape_x):

Expand Down

0 comments on commit 89bffdb

Please sign in to comment.