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

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Oct 6 20:34:37 CDT 2006


Author: stefan
Date: 2006-10-06 20:34:24 -0500 (Fri, 06 Oct 2006)
New Revision: 3272

Modified:
   trunk/numpy/core/src/ufuncobject.c
Log:
Fix ticket #327.


Modified: trunk/numpy/core/src/ufuncobject.c
===================================================================
--- trunk/numpy/core/src/ufuncobject.c	2006-10-07 01:09:36 UTC (rev 3271)
+++ trunk/numpy/core/src/ufuncobject.c	2006-10-07 01:34:24 UTC (rev 3272)
@@ -1168,7 +1168,7 @@
 		smallest but non-zero.
 		 */
 
-		for (i=0; i<loop->nd-1; i++) {
+		for (i=0; i<loop->nd; i++) {
 			stride_sum[i] = 0;
 			for (j=0; j<loop->numiter; j++) {
 				stride_sum[i] += loop->iters[j]->strides[i];



More information about the Numpy-svn mailing list