made matrix argument const in coefficient initialization
[pspp-builds.git] / src / math / coefficient.c
index fcd7425e1761737c55f7ab7a4c385bbc74354b30..eb2ee3174e42721e9b74147807453dc09f64caab 100644 (file)
@@ -53,7 +53,7 @@ pspp_coeff_free (struct pspp_coeff *c)
   coefficient structures for the linear model.
  */
 void
-pspp_coeff_init (struct pspp_coeff ** c, struct design_matrix *X)
+pspp_coeff_init (struct pspp_coeff ** c, const struct design_matrix *X)
 {
   size_t i;
   int n_vals = 1;