[Numpy-svn] r3067 - trunk/numpy/numarray

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Aug 24 22:44:26 CDT 2006


Author: oliphant
Date: 2006-08-24 22:44:22 -0500 (Thu, 24 Aug 2006)
New Revision: 3067

Modified:
   trunk/numpy/numarray/_capi.c
Log:
Fix warning...

Modified: trunk/numpy/numarray/_capi.c
===================================================================
--- trunk/numpy/numarray/_capi.c	2006-08-25 02:39:50 UTC (rev 3066)
+++ trunk/numpy/numarray/_capi.c	2006-08-25 03:44:22 UTC (rev 3067)
@@ -2775,7 +2775,8 @@
 		if (self == NULL) return self;
 		newdims.len = ndim;
 		newdims.ptr = shape;
-		newself = PyArray_Newshape(self, &newdims, PyArray_CORDER);
+		newself = (PyArrayObject *)\
+                        PyArray_Newshape(self, &newdims, PyArray_CORDER);
 		Py_DECREF(self);
 		self = newself;
 	}



More information about the Numpy-svn mailing list