Skip to content

Commit c3a147f

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

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
@@ -743,9 +743,6 @@ def astype(
743743
order=copy_order,
744744
buffer_ctor_kwargs={"queue": usm_ary.sycl_queue},
745745
)
746-
# see #2121
747-
if ary_dtype == dpt.bool:
748-
usm_ary = dpt.not_equal(usm_ary, 0, order=copy_order)
749746
_copy_from_usm_ndarray_to_usm_ndarray(R, usm_ary)
750747
return R
751748

0 commit comments

Comments
 (0)