Skip to content

Commit ac9072f

Browse files
committed
Import formatting corrected in usm_ndarray getitem
1 parent 1e67943 commit ac9072f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,7 @@ cdef class usm_ndarray:
670670
if adv_ind_start_p < 0:
671671
return res
672672

673-
from ._copy_utils import (
674-
_mock_extract,
675-
_mock_nonzero,
676-
_take_multi_index,
677-
)
673+
+ from ._copy_utils import _mock_extract, _mock_nonzero, _take_multi_index
678674
if len(adv_ind) == 1 and adv_ind[0].dtype == dpt_bool:
679675
return _mock_extract(res, adv_ind[0], adv_ind_start_p)
680676

0 commit comments

Comments
 (0)