Skip to content

Commit 4910209

Browse files
Fix "Arrays are not equal" part 1 (#942)
Co-authored-by: Alexander-Makaryev <[email protected]>
1 parent f0de1c6 commit 4910209

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

dpnp/dpnp_iface_manipulation.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,7 @@ def concatenate(arrs, axis=0, out=None, dtype=None, casting="same_kind"):
211211
[1 2 3 4 5 6]
212212
213213
"""
214-
215-
# TODO:
216-
# `call_origin` cannot convert sequence of array to sequence of
217-
# ndarrays
218-
arrs_new = []
219-
for arr in arrs:
220-
arrx = dpnp.asnumpy(arr) if not isinstance(arr, numpy.ndarray) else arr
221-
arrs_new.append(arrx)
222-
223-
return call_origin(numpy.concatenate, arrs_new, axis=axis, out=out, dtype=dtype, casting=casting)
214+
return call_origin(numpy.concatenate, arrs, axis=axis, out=out, dtype=dtype, casting=casting)
224215

225216

226217
def copyto(dst, src, casting='same_kind', where=True):

0 commit comments

Comments
 (0)