summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2008-08-06 17:34:56 +0000
committerTravis Oliphant <oliphant@enthought.com>2008-08-06 17:34:56 +0000
commitded1bf725d022e9e2ac5df3d6785a14e702f6fec (patch)
treec9b811585cd725cc69c6173dd736af64cdf98e86 /numpy/core/src/arraymethods.c
parentdb148964e45b01604e6df0a8e0f3c35f2fc951c6 (diff)
downloadnumpy-ded1bf725d022e9e2ac5df3d6785a14e702f6fec.tar.gz
Fix ticket #877 along with other bugs not yet reported for data-types with titles.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 964c18dbd..8e50bcdf7 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -1006,6 +1006,7 @@ _deepcopy_call(char *iptr, char *optr, PyArray_Descr *dtype,
int offset;
Py_ssize_t pos=0;
while (PyDict_Next(dtype->fields, &pos, &key, &value)) {
+ if NPY_TITLE_KEY(key, value) continue;
if (!PyArg_ParseTuple(value, "Oi|O", &new, &offset,
&title)) return;
_deepcopy_call(iptr + offset, optr + offset, new,