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

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Oct 27 15:44:34 CDT 2006


Author: oliphant
Date: 2006-10-27 15:44:32 -0500 (Fri, 27 Oct 2006)
New Revision: 3409

Modified:
   trunk/numpy/core/src/arrayobject.c
   trunk/numpy/core/src/scalartypes.inc.src
Log:
fixes to last commits.

Modified: trunk/numpy/core/src/arrayobject.c
===================================================================
--- trunk/numpy/core/src/arrayobject.c	2006-10-27 20:43:01 UTC (rev 3408)
+++ trunk/numpy/core/src/arrayobject.c	2006-10-27 20:44:32 UTC (rev 3409)
@@ -10663,7 +10663,7 @@
         
         if (PyTypeNum_ISUSERDEF(self->type_num)) {
                 if (typeobj == NULL) {
-                        return PyString_FromFormat("%s%d (%d)", 
+                        return PyString_FromFormat("%c%d (%d)", 
                                                    self->kind,
                                                    self->elsize,
                                                    self->type_num);

Modified: trunk/numpy/core/src/scalartypes.inc.src
===================================================================
--- trunk/numpy/core/src/scalartypes.inc.src	2006-10-27 20:43:01 UTC (rev 3408)
+++ trunk/numpy/core/src/scalartypes.inc.src	2006-10-27 20:44:32 UTC (rev 3409)
@@ -123,7 +123,7 @@
          */
         align = descr->alignment;
         if (align > 1) memloc = ((memloc + align - 1)/align)*align;
-        return (void *)memloc
+        return (void *)memloc;
 #undef _IFCASE
 #undef _OBJ
 #undef _CHK



More information about the Numpy-svn mailing list