Skip to content

Commit 4565e26

Browse files
ev-brkgryte
andauthored
Allow real and conj of any numeric dtypes
Co-authored-by: Athan <[email protected]>
1 parent dd398c6 commit 4565e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array_api_stubs/_draft/elementwise_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ def conj(x: array, /) -> array:
869869
Parameters
870870
----------
871871
x: array
872-
input array. Should have a floating-point data type.
872+
input array. Should have a numeric data type.
873873
874874
Returns
875875
-------
@@ -2350,7 +2350,7 @@ def real(x: array, /) -> array:
23502350
Parameters
23512351
----------
23522352
x: array
2353-
input array. Should have a floating-point data type.
2353+
input array. Should have a numeric data type.
23542354
23552355
Returns
23562356
-------

0 commit comments

Comments
 (0)