projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First step in making struct variable opaque: the boring mechanical
[pspp-builds.git]
/
src
/
math
/
linreg
/
predict.c
diff --git
a/src/math/linreg/predict.c
b/src/math/linreg/predict.c
index ca96ab097e198d248e6aacf5a2208fd1ac808c3c..9303ca6077e046be3084ebdd57d70852e5d6c58e 100644
(file)
--- a/
src/math/linreg/predict.c
+++ b/
src/math/linreg/predict.c
@@
-70,7
+70,7
@@
pspp_linreg_predict (const struct variable **predictors,
{
found[i] = coe;
tmp = pspp_coeff_get_est (coe);
- if (
predictors[j]->type == NUMERIC
)
+ if (
var_is_numeric (predictors[j])
)
{
tmp *= vals[j]->f;
}