Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Aug 5, 2024
1 parent d905d18 commit 6645282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoutils/raster/interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _interpn_interpolator(
mask_nan = ~np.isfinite(values)
if d != 0:
new_mask = binary_dilation(mask_nan, iterations=d).astype("uint8")
# Zero iterations has a different behaviour in binary_dilation than doing nothing, here we want the original array
# Zero iterations has a different behaviour in binary_dilation than doing nothing, we want the original array
else:
new_mask = mask_nan.astype("uint8")

Expand Down

0 comments on commit 6645282

Please sign in to comment.