Skip to content

Commit ad86943

Browse files
Update src/array_api_extra/_delegation.py
Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
1 parent efa8d80 commit ad86943

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/array_api_extra/_delegation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def nan_to_num(
123123
"""
124124
Replace NaN with zero and infinity with large finite numbers (default behaviour).
125125
126-
If `x` is inexact, NaN is replaced by zero or by the user defined value in
126+
If `x` is inexact, NaN is replaced by zero or by the user defined value in the
127127
`fill_value` keyword, infinity is replaced by the largest finite floating
128128
point values representable by ``x.dtype`` and -infinity is replaced by the
129129
most negative finite floating point values representable by ``x.dtype``.

0 commit comments

Comments
 (0)