Skip to content

Commit

Permalink
Per #1749, when computing the MCTS stats, no need to reset ec_value s…
Browse files Browse the repository at this point in the history
…ince it was already initialized to a good value when the table was created.
  • Loading branch information
JohnHalleyGotway committed Jun 13, 2021
1 parent c2bab0c commit 50f0b5f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions met/src/libcode/vx_statistics/met_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -626,14 +626,6 @@ void MCTSInfo::add(double f, double o, double cmn, double csd) {

void MCTSInfo::compute_stats() {

//
// Define the HSS expected correct value, if needed.
// Default to 1 divided by the number of categories.
//
if(is_bad_data(cts.ec_value()) && cts.nrows() > 0) {
cts.set_ec_value(1.0/cts.nrows());
}

acc.v = cts.gaccuracy();
hk.v = cts.gkuiper();
hss.v = cts.gheidke();
Expand Down

0 comments on commit 50f0b5f

Please sign in to comment.