[Numpy-svn] r8077 - trunk/numpy/core/src/multiarray

numpy-svn@scip... numpy-svn@scip...
Wed Jan 20 10:24:50 CST 2010


Author: charris
Date: 2010-01-20 10:24:49 -0600 (Wed, 20 Jan 2010)
New Revision: 8077

Modified:
   trunk/numpy/core/src/multiarray/arraytypes.c.src
Log:
BUG: Fix ticket #1336 again. Merge for r8072 introduced a regression.

Modified: trunk/numpy/core/src/multiarray/arraytypes.c.src
===================================================================
--- trunk/numpy/core/src/multiarray/arraytypes.c.src	2010-01-20 08:10:11 UTC (rev 8076)
+++ trunk/numpy/core/src/multiarray/arraytypes.c.src	2010-01-20 16:24:49 UTC (rev 8077)
@@ -2194,9 +2194,9 @@
  * #type = Bool, byte, ubyte, short, ushort, int, uint, long, ulong,
  *         longlong, ulonglong, float, double, longdouble,
  *         datetime, timedelta#
-*/
+ */
 static Bool
-@fname@_nonzero (@type@ *ip, PyArrayObject *ap)
+@fname@_nonzero (char *ip, PyArrayObject *ap)
 {
     if (ap == NULL || PyArray_ISBEHAVED_RO(ap)) {
         @type@ *ptmp = (@type@ *)ip;



More information about the Numpy-svn mailing list