made matrix argument const in coefficient initialization
[pspp-builds.git] / src / math / coefficient.h
index 7569463baefe8843973891aa90ddebd953b9a2e2..75044f0cadcc261831520845c17ffd170cd1446d 100644 (file)
@@ -64,7 +64,7 @@ struct pspp_coeff
                                   interaction terms will have more than one
                                   variable. */
 };
-
+typedef struct pspp_coeff coefficient;
 
 void pspp_coeff_free (struct pspp_coeff *);
 
@@ -72,7 +72,7 @@ void pspp_coeff_free (struct pspp_coeff *);
   Initialize the variable and value pointers inside the
   coefficient structures for the linear model.
  */
-void pspp_coeff_init (pspp_linreg_cache *, struct design_matrix *);
+void pspp_coeff_init (struct pspp_coeff **, const struct design_matrix *);
 
 
 void