summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-10-05 18:51:37 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-10-05 18:51:37 +0000
commitd8459ee04cb2c53b809d45641be464096c6feaad (patch)
tree314251b7435e1e597b0a6a80337144546b9b2669 /numpy/core
parent22f16b38b8086cfcef5dc86c852f88a9e777bb92 (diff)
downloadnumpy-d8459ee04cb2c53b809d45641be464096c6feaad.tar.gz
Fix ticket #319. There may still be a problem in casting from one data-type with nested fields to another.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/src/multiarraymodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 95ec0a5a4..9ec89acde 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -5067,7 +5067,6 @@ PyArray_EquivTypes(PyArray_Descr *typ1, PyArray_Descr *typ2)
if (typenum1 == PyArray_VOID || \
typenum2 == PyArray_VOID) {
return ((typenum1 == typenum2) &&
- (typ1->typeobj == typ2->typeobj) &&
_equivalent_fields(typ1->fields, typ2->fields));
}
return (typ1->kind == typ2->kind);