Skip to content

Commit

Permalink
Per #3006, fix for loop typo in 3 spots
Browse files Browse the repository at this point in the history
  • Loading branch information
MET Tools Test Account committed Jan 21, 2025
1 parent 67bc7dd commit 5d203ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tools/core/grid_stat/grid_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ void GridStatVxOpt::process_config(
}

// Store in map
for(int i=0; mpr_sa.n(); i++) {
for(int i=0; i<mpr_sa.n(); i++) {
if(mpr_thr_inc_map.count(mpr_sa[i]) == 0) {
ThreshArray ta;
mpr_thr_inc_map[(mpr_sa[i])] = ta;
Expand Down
2 changes: 1 addition & 1 deletion src/tools/core/pair_stat/pair_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ void PairStatVxOpt::process_config(PairsFormat ftype,
}

// Store in map
for(int i=0; mpr_sa.n(); i++) {
for(int i=0; i<mpr_sa.n(); i++) {
if(mpr_thr_inc_map.count(mpr_sa[i]) == 0) {
ThreshArray ta;
mpr_thr_inc_map[(mpr_sa[i])] = ta;
Expand Down
2 changes: 1 addition & 1 deletion src/tools/core/point_stat/point_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ void PointStatVxOpt::process_config(GrdFileType ftype,
}

// Store in map
for(int i=0; mpr_sa.n(); i++) {
for(int i=0; i<mpr_sa.n(); i++) {
if(mpr_thr_inc_map.count(mpr_sa[i]) == 0) {
ThreshArray ta;
mpr_thr_inc_map[(mpr_sa[i])] = ta;
Expand Down

0 comments on commit 5d203ae

Please sign in to comment.