X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Foneway.c;h=49a34f2ed593f299cc15466d068d4c44857a2bb0;hb=7235f7f42b61c2b111174c3ee5ca72aac8815cd5;hp=8182d51780abf1e501bbd6374ed3a9f52d5842da;hpb=32ee0e0402d6d56674f53a47d879ec5c07dabe09;p=pspp diff --git a/src/language/stats/oneway.c b/src/language/stats/oneway.c index 8182d51780..49a34f2ed5 100644 --- a/src/language/stats/oneway.c +++ b/src/language/stats/oneway.c @@ -755,11 +755,12 @@ run_oneway (const struct oneway_spec *cmd, for (v = 0; v < cmd->n_vars; ++v) { + gsl_matrix *cm; struct per_var_ws *pvw = &ws.vws[v]; const struct categoricals *cats = covariance_get_categoricals (pvw->cov); categoricals_done (cats); - gsl_matrix *cm = covariance_calculate_unnormalized (pvw->cov); + cm = covariance_calculate_unnormalized (pvw->cov); moments1_calculate (ws.dd_total[v]->mom, &pvw->n, NULL, NULL, NULL, NULL); @@ -826,7 +827,7 @@ output_oneway (const struct oneway_spec *cmd, struct oneway_workspace *ws) if (ll_count (cl) != ws->actual_number_of_groups) { msg (SW, - _("In contrast list %zu, the number of coefficients (%d) does not equal the number of groups (%d). This contrast list will be ignored."), + _("In contrast list %zu, the number of coefficients (%zu) does not equal the number of groups (%d). This contrast list will be ignored."), i, ll_count (cl), ws->actual_number_of_groups); ll_remove (&coeff_list->ll);