Skip to content

Commit 938a184

Browse files
committed
Remove redundant get_usm_ndarray
1 parent e52af34 commit 938a184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_iface_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _build_choices_list(choices):
134134
choices_ = []
135135
for chc in choices:
136136
chc_ = dpnp.get_usm_ndarray(chc)
137-
choices_.append(dpnp.get_usm_ndarray(chc_))
137+
choices_.append(chc_)
138138
choices = choices_
139139
else:
140140
raise TypeError("`choices` must be an array or sequence of arrays")

0 commit comments

Comments
 (0)