Skip to content

Commit

Permalink
Per #1810, fix bug in tc_gen writing PJC and PRC output lines for gen…
Browse files Browse the repository at this point in the history
…esis probabilities. It was a copy/paste bug.
  • Loading branch information
JohnHalleyGotway committed Jan 5, 2022
1 parent 615064f commit 3ab9944
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions met/src/tools/tc_utils/tc_gen/tc_gen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2155,16 +2155,16 @@ void write_pct_stats(ProbGenPCTInfo &pgi) {

// Write PJC output
if(pgi.VxOpt->output_map(stat_pjc) != STATOutputType_None) {
write_pct_row(shc, pgi.PCTMap[lead_hr],
write_pjc_row(shc, pgi.PCTMap[lead_hr],
pgi.VxOpt->output_map(stat_pjc),
1, 1, stat_at, i_stat_row,
txt_at[i_pjc], i_txt_row[i_pjc]);
}

// Write PRC output
if(pgi.VxOpt->output_map(stat_pjc) != STATOutputType_None) {
write_pct_row(shc, pgi.PCTMap[lead_hr],
pgi.VxOpt->output_map(stat_pjc),
write_prc_row(shc, pgi.PCTMap[lead_hr],
pgi.VxOpt->output_map(stat_prc),
1, 1, stat_at, i_stat_row,
txt_at[i_prc], i_txt_row[i_prc]);
}
Expand Down

0 comments on commit 3ab9944

Please sign in to comment.