Skip to content

Commit 4ec43bf

Browse files
Corrected text of exception message
1 parent 1de0bc2 commit 4ec43bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ cdef class usm_ndarray:
898898

899899
raise ValueError(
900900
"The truth value of an array with more than one element is "
901-
"ambiguous. Use a.any() or a.all()"
901+
"ambiguous. Use dpctl.tensor.any() or dpctl.tensor.all()"
902902
)
903903

904904
def __float__(self):

0 commit comments

Comments
 (0)