From: Jason Stover Date: Sat, 15 Jul 2006 20:25:01 +0000 (+0000) Subject: made matrix argument const in coefficient initialization X-Git-Tag: v0.6.0~758 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=b57bac17a6057cc0642e6ecea792e058596f92bb made matrix argument const in coefficient initialization --- diff --git a/src/math/ChangeLog b/src/math/ChangeLog index 1d99752e..2d1b2e96 100644 --- a/src/math/ChangeLog +++ b/src/math/ChangeLog @@ -1,3 +1,7 @@ +2006-07-15 Jason Stover + + * coefficient.c (pspp_coeff_init): Make design_matrix arg const. + 2006-07-14 Jason Stover * coefficient.c (pspp_coeff_init): Removed use of diff --git a/src/math/coefficient.c b/src/math/coefficient.c index fcd7425e..eb2ee317 100644 --- a/src/math/coefficient.c +++ b/src/math/coefficient.c @@ -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; diff --git a/src/math/coefficient.h b/src/math/coefficient.h index 4019c549..75044f0c 100644 --- a/src/math/coefficient.h +++ b/src/math/coefficient.h @@ -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 (struct pspp_coeff **, struct design_matrix *); +void pspp_coeff_init (struct pspp_coeff **, const struct design_matrix *); void