[Scipy-svn] r2901 - trunk/Lib/optimize

scipy-svn@scip... scipy-svn@scip...
Sun Apr 8 10:27:47 CDT 2007


Author: cookedm
Date: 2007-04-08 10:27:44 -0500 (Sun, 08 Apr 2007)
New Revision: 2901

Modified:
   trunk/Lib/optimize/__minpack.h
Log:
fix double DECREF in Lib/optimize/__minpack.h. AJennings, #392


Modified: trunk/Lib/optimize/__minpack.h
===================================================================
--- trunk/Lib/optimize/__minpack.h	2007-04-05 22:10:01 UTC (rev 2900)
+++ trunk/Lib/optimize/__minpack.h	2007-04-08 15:27:44 UTC (rev 2901)
@@ -585,7 +585,6 @@
   else {
     Py_DECREF(ap_fvec);
     Py_DECREF(ap_fjac);
-    Py_DECREF(ap_diag);
     Py_DECREF(ap_ipvt);
     Py_DECREF(ap_qtf);
     return Py_BuildValue("Ni",PyArray_Return(ap_x),info);



More information about the Scipy-svn mailing list