fix memory leaks; bug 21056
[pspp-builds.git] / src / math / linreg / ChangeLog
index c31f24a56dcb83ef2d0b98462610dd4d3a050377..08ab14401f39406541a4b157d060fbe8a73787b2 100644 (file)
@@ -1,3 +1,92 @@
+2007-09-21  Jason Stover  <jhs@wonko.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Partial fix of memory leak,
+       bug 21056.
+
+2007-08-11  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h (enum): Dropped ambiguous PSPP_LINREG_SVD in favor of
+       PSPP_LINREG_QR. Added PSPP_LINREG_CONDITIONAL_INVERSE.
+
+       * linreg.c (pspp_linreg): Added scope and comment for use of
+       generalized inverse to solve normal equations.
+
+2007-04-12  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c: (pspp_linreg_cache_free) Check for null pointer before
+       freeing.
+
+Wed Dec  6 21:16:22 2006  Ben Pfaff  <blp@gnu.org>
+
+       * linreg.c: (pspp_linreg_get_vars) Compare variable pointers
+       instead of variable indexes.
+
+2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
+
+       * coefficient.c: Moved to src/math.
+
+       * coefficient.h: Moved to src/math.
+
+2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 
+
+2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_get_vars): New function. Fills an array with
+       pointers to the variables used in the model.
+
+       * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars()
+       to access variables in a model.
+
+       * coefficient.c (pspp_linreg_coeff_init): Set the variable
+       associated with the intercept term to NULL.
+
+2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to predicted values.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
+       predicted values.
+
+2006-04-22  Jason Stover  <jhs@debs.hjklfdsss.org>
+
+       * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
+       to pspp_linreg_cache.
+
+2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to a variable to store the resduals.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialize the residual
+       variable pointer to NULL.
+
+2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Accept a pointer of type
+       void to match definition of trns_proc_func.
+
+2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Return a bool.
+
+Sat Apr 15 18:03:01 2006  Ben Pfaff  <blp@gnu.org>
+
+       * predict.c (pspp_linreg_predict): Change prototype to match
+       struct pspp_linreg_cache_struct's predict member.
+       * predict.c (pspp_linreg_residual): Change prototype to match
+       struct pspp_linreg_cache_struct's residual member.
+
+Sat Apr 15 18:01:39 2006  Ben Pfaff  <blp@gnu.org>
+
+       * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
+       0, instead of NULL, because it's an integer type.
+
+Mon Apr  3 13:20:54 2006  Ben Pfaff  <blp@gnu.org>
+
+       * linreg.c (pspp_linreg): Move declaration before code for C90
+       compliance.
+
 2006-04-09  Jason Stover  <jhs@math.gcsu.edu>
 
        * predict.c (pspp_linreg_predict): Do something sensible even with