Skip to content

Commit 5b4ae4a

Browse files
committed
np.ndarray->numpy.ndarray in error text
1 parent eafb644 commit 5b4ae4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_copy_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def _from_numpy_empty_like_orderK(X, dt, usm_type, dev):
413413
strides as `x`.
414414
"""
415415
if not isinstance(X, np.ndarray):
416-
raise TypeError(f"Expected np.ndarray, got {type(X)}")
416+
raise TypeError(f"Expected numpy.ndarray, got {type(X)}")
417417
fl = X.flags
418418
if fl["C"] or X.size <= 1:
419419
return dpt.empty(

0 commit comments

Comments
 (0)