diff options
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index c719cbc4c..af302feff 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -6177,9 +6177,6 @@ static PyObject * PyArray_CheckFromAny(PyObject *op, PyArray_Descr *descr, int min_depth, int max_depth, int requires, PyObject *context) { - if (requires & ENSURECOPY) { - requires |= DEFAULT_FLAGS; - } if (requires & NOTSWAPPED) { if (!descr && PyArray_Check(op) && \ !PyArray_ISNBO(PyArray_DESCR(op)->byteorder)) { |