Skip to content

Commit

Permalink
Review comment to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmannwong committed Aug 9, 2024
1 parent 06234a6 commit 54f5fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/earthkit/meteo/stats/array/quantiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def iter_quantiles(
if method == "sort":
arr = np.asarray(arr)
arr.sort(axis=axis)
missing = np.isnan(np.min(arr, axis=axis))
missing = np.isnan(arr).any(axis=axis)

for q in qs:
if method == "numpy":
Expand Down

0 comments on commit 54f5fca

Please sign in to comment.