[Scipy-svn] r4986 - trunk/scipy/signal

scipy-svn@scip... scipy-svn@scip...
Tue Nov 4 02:32:46 CST 2008


Author: cdavid
Date: 2008-11-04 02:32:38 -0600 (Tue, 04 Nov 2008)
New Revision: 4986

Modified:
   trunk/scipy/signal/newsig.c
Log:
Add a comment on failure handling not done yet.

Modified: trunk/scipy/signal/newsig.c
===================================================================
--- trunk/scipy/signal/newsig.c	2008-11-04 08:32:23 UTC (rev 4985)
+++ trunk/scipy/signal/newsig.c	2008-11-04 08:32:38 UTC (rev 4986)
@@ -36,6 +36,7 @@
 	ara = (PyArrayObject *) PyArray_ContiguousFromObject(a, typenum, 1, 1);
 	arb = (PyArrayObject *) PyArray_ContiguousFromObject(b, typenum, 1, 1);
 	arX = (PyArrayObject *) PyArray_FromObject(X, typenum, 0, 0);
+        /* XXX: fix failure handling here */
 	if (ara == NULL || arb == NULL || arX == NULL) {
 		goto fail;
 	}
@@ -155,7 +156,7 @@
 	   const PyArrayObject *zf, PyArrayObject *y, int axis,
 	   BasicFilterFunction *filter_func)
 {
-	PyArrayIterObject *itx, *ity;
+	PyArrayIterObject *itx, *ity, *itzi, *itzf;
 	intp nitx, i, nxl;
 	intp na, nb, nal, nbl;
 	intp nfilt;



More information about the Scipy-svn mailing list