From 5db2f4e6bdd98525fdf07c546c6934ac9f51345f Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Wed, 14 Dec 2022 12:57:22 -0800 Subject: [PATCH] Update dtype guidance for `eigh` and `eigvalsh` --- spec/API_specification/array_api/linalg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/API_specification/array_api/linalg.py b/spec/API_specification/array_api/linalg.py index c56eb9bbb..faa8ba9e6 100644 --- a/spec/API_specification/array_api/linalg.py +++ b/spec/API_specification/array_api/linalg.py @@ -139,7 +139,7 @@ def eigh(x: array, /) -> Tuple[array]: Parameters ---------- x: array - input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Must have a floating-point data type. + input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Should have a floating-point data type. Returns ------- @@ -179,7 +179,7 @@ def eigvalsh(x: array, /) -> array: Parameters ---------- x: array - input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Must have a floating-point data type. + input array having shape ``(..., M, M)`` and whose innermost two dimensions form square matrices. Should have a floating-point data type. Returns -------