Skip to content

Commit

Permalink
Pass copy through
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jan 16, 2025
1 parent fee251b commit 9005f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndonnx/_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def asarray(
ret = x.copy() if copy is True else x

if dtype is not None:
ret = ret.astype(dtype)
ret = astype(ret, dtype=dtype, copy=copy)

return ret

Expand Down

0 comments on commit 9005f54

Please sign in to comment.