From: John Darrington Date: Sat, 24 Oct 2009 07:26:21 +0000 (+0200) Subject: Call categoricals_done at start of second pass. X-Git-Tag: sid-i386-build96^0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=8f471c51c709556ebfe46eaeb716ad171feae972 Call categoricals_done at start of second pass. --- 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) {