Skip to content

Commit 753548b

Browse files
Fixed text of py::type_error per PR review
1 parent 50268dd commit 753548b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/apis/include/dpctl4pybind11.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,8 @@ struct type_caster<sycl::kernel_bundle<sycl::bundle_state::executable>>
594594
return true;
595595
}
596596
else {
597-
throw py::type_error(
598-
"Input is of unexpected type, expected dpctl.SyclEvent");
597+
throw py::type_error("Input is of unexpected type, expected "
598+
"dpctl.program.SyclProgram");
599599
}
600600
}
601601

0 commit comments

Comments
 (0)