Skip to content

Commit 87ddfe2

Browse files
the put func: inplace fallback (#967)
1 parent a6519b3 commit 87ddfe2

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
@@ -378,7 +378,7 @@ def put(x1, ind, v, mode='raise'):
378378
else:
379379
return dpnp_put(x1_desc, ind, v)
380380

381-
return call_origin(numpy.put, x1, ind, v, mode)
381+
return call_origin(numpy.put, x1, ind, v, mode, dpnp_inplace=True)
382382

383383

384384
def put_along_axis(x1, indices, values, axis):

0 commit comments

Comments
 (0)