[Numpy-svn] r3366 - trunk/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Oct 19 09:36:48 CDT 2006


Author: oliphant
Date: 2006-10-19 09:36:44 -0500 (Thu, 19 Oct 2006)
New Revision: 3366

Modified:
   trunk/numpy/core/src/multiarraymodule.c
Log:
Fix length early in IntpConverter.

Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c	2006-10-19 10:11:40 UTC (rev 3365)
+++ trunk/numpy/core/src/multiarraymodule.c	2006-10-19 14:36:44 UTC (rev 3366)
@@ -4158,6 +4158,7 @@
         int nd;
 
         seq->ptr = NULL;
+        seq->len = 0;
         if (obj == Py_None) return PY_SUCCEED;
         len = PySequence_Size(obj);
         if (len == -1) { /* Check to see if it is a number */



More information about the Numpy-svn mailing list