Skip to content

Commit d8b3025

Browse files
committed
Clean up formatting in error handling in take
1 parent fb374cf commit d8b3025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_indexing_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def take(x, indices, /, *, axis=None, out=None, mode="wrap"):
142142
)
143143
if dt != out.dtype:
144144
raise ValueError(
145-
f"Output array of type {dt} is needed, " f"got {out.dtype}"
145+
f"Output array of type {dt} is needed, got {out.dtype}"
146146
)
147147
if dpctl.utils.get_execution_queue((exec_q, out.sycl_queue)) is None:
148148
raise dpctl.utils.ExecutionPlacementError(

0 commit comments

Comments
 (0)