X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcovariance.c;h=7e9736291c4a32e81cad37b0a6fac7aa902f5b26;hb=8f471c51c709556ebfe46eaeb716ad171feae972;hp=f3ef7ad4d014bfaeeda4a85da41e52c0e31800e4;hpb=68cd9c7523ad5b07d9eea7493947a570366e0f48;p=pspp-builds.git diff --git a/src/math/covariance.c b/src/math/covariance.c index f3ef7ad4..7e973629 100644 --- 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) {