projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call categoricals_done at start of second pass.
[pspp-builds.git]
/
src
/
math
/
covariance.c
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)
{