X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flinreg%2Fpredict.c;h=ca96ab097e198d248e6aacf5a2208fd1ac808c3c;hb=3816248a008a4af75aac6319d0c9929cb7ff679e;hp=06576d057d52cb9d05bdb6b119de35788375ee07;hpb=538e1f5d35f8a48d43401b2c7abf7663219b638f;p=pspp diff --git a/src/math/linreg/predict.c b/src/math/linreg/predict.c index 06576d057d..ca96ab097e 100644 --- a/src/math/linreg/predict.c +++ b/src/math/linreg/predict.c @@ -19,7 +19,7 @@ */ #include -#include +#include #include /* @@ -35,8 +35,8 @@ pspp_linreg_predict (const struct variable **predictors, const pspp_linreg_cache *c = c_; int i; int j; - const struct pspp_linreg_coeff **found; - const struct pspp_linreg_coeff *coe; + const struct pspp_coeff **found; + const struct pspp_coeff *coe; double result; double tmp; @@ -69,7 +69,7 @@ pspp_linreg_predict (const struct variable **predictors, if (i < c->n_coeffs) { found[i] = coe; - tmp = pspp_linreg_coeff_get_est (coe); + tmp = pspp_coeff_get_est (coe); if (predictors[j]->type == NUMERIC) { tmp *= vals[j]->f;