diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-20 10:43:42 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-20 10:43:42 +0000 |
commit | e966fd194660c6e1a3f560a70415fa986fc84309 (patch) | |
tree | d4edf6b3d4dd24f9e311bab8d6cb1b29063d4062 /numpy | |
parent | 9ccdfb64beb215ca845e07aa469d13a968dc8676 (diff) | |
download | numpy-e966fd194660c6e1a3f560a70415fa986fc84309.tar.gz |
Remove unnecessary check.
Diffstat (limited to 'numpy')
-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)) { |