updated residual function; fixed bug in coefficient.c
[pspp-builds.git] / src / math / linreg / linreg.c
index 99d37c13ab211a86b44f1791f5d89df93eea5659..aeaa9b8dfdb4fc279430c87a51a45a483caed832 100644 (file)
@@ -99,6 +99,7 @@ pspp_linreg_cache_alloc (size_t n, size_t p)
   pspp_linreg_cache *c;
 
   c = (pspp_linreg_cache *) malloc (sizeof (pspp_linreg_cache));
+  c->depvar = NULL;
   c->indep_means = gsl_vector_alloc (p);
   c->indep_std = gsl_vector_alloc (p);
   c->ssx = gsl_vector_alloc (p);       /* Sums of squares for the