Skip to content

Commit

Permalink
Per #2286, in PointStatVxOpt::n_txt_row() modify the vect_flag logic …
Browse files Browse the repository at this point in the history
…to exactly match the logic used in point_stat.cc. When running test for this issue I'd come across a runtime error for vl1l2 output since the logic in the 2 spots was slightly different.
  • Loading branch information
JohnHalleyGotway committed Sep 29, 2022
1 parent 14d85ef commit 9836e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/core/point_stat/point_stat_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,8 @@ int PointStatVxOpt::n_txt_row(int i_txt_row) const {
if(output_flag[i_txt_row] == STATOutputType_None) return(0);

bool prob_flag = vx_pd.fcst_info->is_prob();
bool vect_flag = (vx_pd.fcst_info->is_u_wind() &&
vx_pd.obs_info->is_u_wind());
bool vect_flag = vx_pd.fcst_info->is_v_wind() &&
vx_pd.fcst_info->uv_index() >= 0;

int n_pd = get_n_msg_typ() * get_n_mask() * get_n_interp();

Expand Down

0 comments on commit 9836e8b

Please sign in to comment.