projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400bebe
)
use sizeof double to allocate means
fc11-i386-build89
fc11-x64-build86
lenny-x64-build104
sid-i386-build156
author
Jason H Stover
<jhs@math.gcsu.edu>
Thu, 4 Feb 2010 23:01:45 +0000
(18:01 -0500)
committer
Jason H Stover
<jhs@math.gcsu.edu>
Thu, 4 Feb 2010 23:01:45 +0000
(18:01 -0500)
src/language/stats/regression.q
patch
|
blob
|
history
diff --git
a/src/language/stats/regression.q
b/src/language/stats/regression.q
index cb126d09655f5c700f9dd432c0df8f36f8b7a1ef..4841c66ea536a4a05c5efd9c30643c88ba51bb50 100644
(file)
--- a/
src/language/stats/regression.q
+++ b/
src/language/stats/regression.q
@@
-905,7
+905,7
@@
run_regression (struct casereader *input, struct cmd_regression *cmd,
dict_get_vars (dict, &v_variables, &n_variables, 0);
}
vars = xnmalloc (n_variables, sizeof (*vars));
- means = xnmalloc (n_variables, sizeof (*
var
s));
+ means = xnmalloc (n_variables, sizeof (*
mean
s));
cov = covariance_1pass_create (n_variables, v_variables,
dict_get_weight (dict), MV_ANY);