8000 MAINT: appease linter · lesteve/numpy@b5c8398 · GitHub
[go: up one dir, main page]

Skip to content

Commit b5c8398

Browse files
committed
MAINT: appease linter
1 parent 35e105f commit b5c8398

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numpy/lib/_nanfunctions_impl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,8 @@ def nanpercentile(
13761376
raise TypeError("a must be an array of real numbers")
13771377

13781378
q = np.true_divide(q, a.dtype.type(100) if a.dtype.kind == "f" else 100)
1379-
q = np.asanyarray(q) # undo any decay that the ufunc performed (see gh-13105)
1379+
# undo any decay that the ufunc performed (see gh-13105)
1380+
q = np.asanyarray(q)
13801381
if not fnb._quantile_is_valid(q):
13811382
raise ValueError("Percentiles must be in the range [0, 100]")
13821383
return _nanquantile_unchecked(

0 commit comments

Comments
 (0)
0