Skip to content

Commit d56d369

Browse files
authored
Update dtype guidance for eigh and eigvalsh (#572)
1 parent 7eee20d commit d56d369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/API_specification/array_api/linalg.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def eigh(x: array, /) -> Tuple[array]:
139139
Parameters
140140
----------
141141
x: array
142-
input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Must have a floating-point data type.
142+
input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Should have a floating-point data type.
143143
144144
Returns
145145
-------
@@ -179,7 +179,7 @@ def eigvalsh(x: array, /) -> array:
179179
Parameters
180180
----------
181181
x: array
182-
input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Must have a floating-point data type.
182+
input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Should have a floating-point data type.
183183
184184
Returns
185185
-------

0 commit comments

Comments
 (0)