From d1772dfa77245b95e573281154dcd31a32f89b31 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Mon, 7 Oct 2024 23:39:09 +0000 Subject: [PATCH] Pet #2882, call set_n_pairs() after set_size() ci-run-unit --- src/tools/core/stat_analysis/parse_stat_line.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tools/core/stat_analysis/parse_stat_line.cc b/src/tools/core/stat_analysis/parse_stat_line.cc index 81a9dc3710..f347d87915 100644 --- a/src/tools/core/stat_analysis/parse_stat_line.cc +++ b/src/tools/core/stat_analysis/parse_stat_line.cc @@ -115,13 +115,13 @@ void parse_mctc_ctable(STATLine &l, ContingencyTable &ct) { int n_cat, i, j; char col_str[max_str_len]; - // Npairs - ct.set_n_pairs(atoi(l.get_item("TOTAL"))); - // N_CAT n_cat = atoi(l.get_item("N_CAT")); ct.set_size(n_cat); + // Npairs + ct.set_n_pairs(atoi(l.get_item("TOTAL"))); + // Fi_Oj for(i=0; i thresh(n);