Skip to content

Commit

Permalink
Per #1749, hotfix directly to the develop branch. Apparently, when I …
Browse files Browse the repository at this point in the history
…merged the latest from develop into feature_1749_hss, it overwrote these important fixes to write_mctc_cols() and write_mctc_header_row().
  • Loading branch information
MET Tools Test Account committed Jun 14, 2021
1 parent 482287e commit 3e86997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions met/src/libcode/vx_stat_out/stat_columns.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void write_mctc_header_row(int hdr_flag, int n_cat, AsciiTable &at,
at.set_entry(r, c+1, (string)mctc_columns[1]);

// Write Fi_Oj for each cell of the NxN table
for(i=0, col=c+3; i<n_cat; i++) {
for(i=0, col=c+2; i<n_cat; i++) {
for(j=0; j<n_cat; j++) {
cs.format("F%i_O%i", i+1, j+1);
at.set_entry(r, col, cs); // Fi_Oj
Expand Down Expand Up @@ -2658,7 +2658,7 @@ void write_mctc_cols(const MCTSInfo &mcts_info,
//
// Loop through the contingency table rows and columns
//
for(i=0, col=c+3; i<mcts_info.cts.nrows(); i++) {
for(i=0, col=c+2; i<mcts_info.cts.nrows(); i++) {
for(j=0; j<mcts_info.cts.ncols(); j++) {

at.set_entry(r, col, // Fi_Oj table counts
Expand Down

0 comments on commit 3e86997

Please sign in to comment.