Skip to content

Commit cc0756f

Browse files
committed
Revert gh-2122 since gh-2121 was fixed in convert_impl
1 parent a6dd869 commit cc0756f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dpctl/tensor/_copy_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,6 @@ def astype(
742742
order=copy_order,
743743
buffer_ctor_kwargs={"queue": usm_ary.sycl_queue},
744744
)
745-
# see #2121
746-
if ary_dtype == dpt.bool:
747-
usm_ary = dpt.not_equal(usm_ary, 0, order=copy_order)
748745
_copy_from_usm_ndarray_to_usm_ndarray(R, usm_ary)
749746
return R
750747

0 commit comments

Comments
 (0)