Skip to content

Commit 9529f0a

Browse files
committed
Change per PR review to exception in UnaryElementwiseFunc
1 parent 7f59819 commit 9529f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_elementwise_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def __call__(self, x, /, *, out=None, order="K"):
215215
if res_dt != out.dtype:
216216
raise ValueError(
217217
f"Output array of type {res_dt} is needed, "
218-
f" got {out.dtype}"
218+
f"got {out.dtype}"
219219
)
220220

221221
if (

0 commit comments

Comments
 (0)