Skip to content

Commit b8141b8

Browse files
authored
Fix typo in absolute value return value description
2 parents 6489dae + aee9df3 commit b8141b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/array_api_stubs/_draft/elementwise_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def abs(x: array, /) -> array:
3030
Returns
3131
-------
3232
out: array
33-
an array containing the absolute value of each element in ``x``. If ``x`` has a real-valued data type, the returned array must have the same data type as ``x``. If ``x`` has a complex floating-point data type, the returned arrayed must have a real-valued floating-point data type whose precision matches the precision of ``x`` (e.g., if ``x`` is ``complex128``, then the returned array must have a ``float64`` data type).
33+
an array containing the absolute value of each element in ``x``. If ``x`` has a real-valued data type, the returned array must have the same data type as ``x``. If ``x`` has a complex floating-point data type, the returned array must have a real-valued floating-point data type whose precision matches the precision of ``x`` (e.g., if ``x`` is ``complex128``, then the returned array must have a ``float64`` data type).
3434
3535
Notes
3636
-----

0 commit comments

Comments
 (0)