Skip to content

Commit

Permalink
Allow real and conj of any numeric dtypes
Browse files Browse the repository at this point in the history
Co-authored-by: Athan <[email protected]>
  • Loading branch information
ev-br and kgryte authored Jan 20, 2025
1 parent dd398c6 commit 4565e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/array_api_stubs/_draft/elementwise_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def conj(x: array, /) -> array:
Parameters
----------
x: array
input array. Should have a floating-point data type.
input array. Should have a numeric data type.
Returns
-------
Expand Down Expand Up @@ -2350,7 +2350,7 @@ def real(x: array, /) -> array:
Parameters
----------
x: array
input array. Should have a floating-point data type.
input array. Should have a numeric data type.
Returns
-------
Expand Down

0 comments on commit 4565e26

Please sign in to comment.