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:
68cd9c7
)
Call categoricals_done at start of second pass.
sid-i386-build96
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 24 Oct 2009 07:26:21 +0000
(09:26 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 24 Oct 2009 08:00:02 +0000
(10:00 +0200)
src/math/covariance.c
patch
|
blob
|
history
diff --git
a/src/math/covariance.c
b/src/math/covariance.c
index f3ef7ad4d014bfaeeda4a85da41e52c0e31800e4..7e9736291c4a32e81cad37b0a6fac7aa902f5b26 100644
(file)
--- a/
src/math/covariance.c
+++ b/
src/math/covariance.c
@@
-348,6
+348,8
@@
covariance_accumulate_pass2 (struct covariance *cov, const struct ccase *c)
cov->moments[i] = resize_matrix (cov->moments[i], cov->dim);
}
+ categoricals_done (cov->categoricals);
+
/* Divide the means by the number of samples */
for (i = 0; i < cov->n_vars; ++i)
{