Skip to content

Commit

Permalink
Modified ndfilters.mean_filter() to cache the compilation results. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie authored May 27, 2024
1 parent f94a0af commit 213fad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndfilters/_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _mean_filter_1d(
return result


@numba.njit(parallel=True)
@numba.njit(parallel=True, cache=True)
def _mean_filter_1d_numba(
array: np.ndarray,
size: int,
Expand Down

0 comments on commit 213fad1

Please sign in to comment.