Skip to content

Commit 2a24c4a

Browse files
committed
Fix _replace_nan_no_mask docstring per PR review
1 parent 40af29a commit 2a24c4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpnp/dpnp_iface_nanfunctions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ def _replace_nan_no_mask(a, val):
7777
7878
Returns
7979
-------
80-
out : {dpnp.ndarray}
80+
out : dpnp.ndarray
8181
If `a` is of inexact type, return a copy of `a` with the NaNs
8282
replaced by the fill value, otherwise return `a`.
83+
8384
"""
8485

8586
return dpnp.nan_to_num(a, nan=val, posinf=dpnp.inf, neginf=-dpnp.inf)

0 commit comments

Comments
 (0)