diff --git a/src/shmem4py/shmem.py b/src/shmem4py/shmem.py index 3d373b7..d56e37a 100644 --- a/src/shmem4py/shmem.py +++ b/src/shmem4py/shmem.py @@ -883,7 +883,7 @@ def array( Valid hints are defined as enumerations in `MALLOC` and can be combined using the bitwise OR operator. Keyword argument only. """ - tmp = np.array(obj, dtype, copy=False, order=order) + tmp = np.asarray(obj, dtype, order=order) a = new_array(tmp.size, tmp.dtype, align=align, hints=hints, clear=False) a.shape = tmp.shape if tmp.ndim > 1: