[Scipy-svn] r2846 - trunk/Lib/sandbox/pyloess/sandbox/src

scipy-svn@scip... scipy-svn@scip...
Wed Mar 14 07:36:59 CDT 2007


Author: pierregm
Date: 2007-03-14 07:34:56 -0500 (Wed, 14 Mar 2007)
New Revision: 2846

Modified:
   trunk/Lib/sandbox/pyloess/sandbox/src/predict.c
Log:
sandbox: Thanks to Francesc Altec suggestion, the loess routines now run without crashing...However, they are not yet fully tested.

Modified: trunk/Lib/sandbox/pyloess/sandbox/src/predict.c
===================================================================
--- trunk/Lib/sandbox/pyloess/sandbox/src/predict.c	2007-03-14 08:28:17 UTC (rev 2845)
+++ trunk/Lib/sandbox/pyloess/sandbox/src/predict.c	2007-03-14 12:34:56 UTC (rev 2846)
@@ -4,8 +4,7 @@
 #include <stdlib.h>
 
 void
-predict(double *eval, int m, loess *lo, predicted *pre,
-        int se)
+predict(double *eval, int m, loess *lo, prediction *pre, int se)
 {
     int    size_info[3];
     void    pred_();
@@ -159,7 +158,7 @@
 }
 
 void
-pred_free_mem(predicted *pre)
+pred_free_mem(prediction *pre)
 {
 	free(pre->fit);
 	free(pre->se_fit);



More information about the Scipy-svn mailing list