Skip to content

Commit 0c69706

Browse files
Update dpctl/tensor/_type_utils.py
Fixed exception message wording Co-authored-by: vtavana <[email protected]>
1 parent 4171d4c commit 0c69706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_type_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ def _result_type_fn_impl(arrays_and_dtypes_tuple, sycl_device=None):
760760
inspected = True
761761
else:
762762
raise ValueError(
763-
"At least only argument must have type `dpctl.tensor.usm_ndarray`"
763+
"At least one argument must have type `dpctl.tensor.usm_ndarray`"
764764
)
765765

766766
if not (has_fp16 and has_fp64):

0 commit comments

Comments
 (0)