[Scipy-svn] r4614 - branches/stats_models/src

scipy-svn@scip... scipy-svn@scip...
Thu Aug 7 20:30:12 CDT 2008


Author: tom.waite
Date: 2008-08-07 20:30:10 -0500 (Thu, 07 Aug 2008)
New Revision: 4614

Modified:
   branches/stats_models/src/bspline_impl.c
Log:
weave to c-ext

Modified: branches/stats_models/src/bspline_impl.c
===================================================================
--- branches/stats_models/src/bspline_impl.c	2008-08-08 01:29:50 UTC (rev 4613)
+++ branches/stats_models/src/bspline_impl.c	2008-08-08 01:30:10 UTC (rev 4614)
@@ -180,7 +180,7 @@
         double *result, *bl, *br;
         int k;
 
-        if (fabs(r - l) <= m) {
+        if (abs(r - l) <= m) {
             result = (double *) malloc(sizeof(*result) * nx);
             bl = (double *) malloc(sizeof(*bl) * nx);
             br = (double *) malloc(sizeof(*br) * nx);



More information about the Scipy-svn mailing list