diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-10 23:05:09 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-10 23:05:09 +0000 |
commit | ac7ff77afad04b6c330a534463dd02681d278c9b (patch) | |
tree | 364ecc2b5fe35807f2cc853931a60ce6a2704d10 /numpy/core/src/arraymethods.c | |
parent | b4ca1e1eb0d04dac6f6ab544ceff8e2333f8fd12 (diff) | |
download | numpy-ac7ff77afad04b6c330a534463dd02681d278c9b.tar.gz |
MADE NPY_ versions of all PyArray_ prefixes corresponding to CONSTANTS. Created a names member of PyArray_Descr and changed usages that extracted -1 out of the fields dict.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r-- | numpy/core/src/arraymethods.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c index 833f5e5c0..af4a6049e 100644 --- a/numpy/core/src/arraymethods.c +++ b/numpy/core/src/arraymethods.c @@ -773,8 +773,6 @@ _deepcopy_call(char *iptr, char *optr, PyArray_Descr *dtype, PyArray_Descr *new; int offset, pos=0; while (PyDict_Next(dtype->fields, &pos, &key, &value)) { - if (PyInt_Check(key) && PyInt_AsLong(key) == -1) - continue; if (!PyArg_ParseTuple(value, "Oi|O", &new, &offset, &title)) return; _deepcopy_call(iptr + offset, optr + offset, new, |