Skip to content

Commit

Permalink
Merge pull request #2214 from dtcenter/bugfix_2208_main_v10.1_ensembl…
Browse files Browse the repository at this point in the history
…e_stat_missing_members

Bugfix #2208 main_v10.1 ensemble_stat with missing members
  • Loading branch information
hsoh-u authored Jul 27, 2022
2 parents 1958e02 + b4d343e commit 0cbdd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/src/libcode/vx_statistics/pair_data_ensemble.cc
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void PairDataEnsemble::compute_pair_vals(const gsl_rng *rng_ptr) {
for(j=0, n_vld=0, n_bel=0, n_tie=0; j<n_ens; j++) {

// Skip bad data
if(!is_bad_data(e_na[j][i])) {
if(e_na[j].n() > i && !is_bad_data(e_na[j][i])) {

// Increment the valid count
n_vld++;
Expand Down

0 comments on commit 0cbdd5f

Please sign in to comment.