[Numpy-svn] r3262 - trunk/numpy/core/src
numpy-svn at scipy.org
numpy-svn at scipy.org
Thu Oct 5 14:51:39 EDT 2006
Author: oliphant
Date: 2006-10-05 13:51:37 -0500 (Thu, 05 Oct 2006)
New Revision: 3262
Modified:
trunk/numpy/core/src/multiarraymodule.c
Log:
Fix ticket #319. There may still be a problem in casting from one data-type with nested fields to another.
Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c 2006-10-05 16:59:15 UTC (rev 3261)
+++ trunk/numpy/core/src/multiarraymodule.c 2006-10-05 18:51:37 UTC (rev 3262)
@@ -5067,7 +5067,6 @@
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);
More information about the Numpy-svn
mailing list