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

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Sep 22 22:32:18 CDT 2006


Author: oliphant
Date: 2006-09-22 22:32:14 -0500 (Fri, 22 Sep 2006)
New Revision: 3208

Modified:
   trunk/numpy/core/src/arraymethods.c
Log:
Fix .take() default-axis argument bug.

Modified: trunk/numpy/core/src/arraymethods.c
===================================================================
--- trunk/numpy/core/src/arraymethods.c	2006-09-22 19:42:43 UTC (rev 3207)
+++ trunk/numpy/core/src/arraymethods.c	2006-09-23 03:32:14 UTC (rev 3208)
@@ -11,7 +11,6 @@
         NPY_CLIPMODE mode=NPY_RAISE;
 	static char *kwlist[] = {"indices", "axis", "out", "mode", NULL};
 
-	dimension=0;
 	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O&", kwlist,
 					 &indices, PyArray_AxisConverter,
 					 &dimension,



More information about the Numpy-svn mailing list