Skip to content

Commit

Permalink
Per #1746, used apply_fcst_thresh where it should have been apply_obs…
Browse files Browse the repository at this point in the history
…_thresh.
  • Loading branch information
JohnHalleyGotway committed Jul 12, 2021
1 parent 06a1c75 commit 1fd1c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/src/tools/core/wavelet_stat/wavelet_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ void do_intensity_scale(const NumArray &f_na, const NumArray &o_na,
// Apply the threshold, if specified
for(j=0, mad=bad_data_double; j<n; j++) {
f_dat[j] = (apply_fcst_thresh ? isc_info[i].fthresh.check(f_na[j]) : f_na[j]);
o_dat[j] = (apply_fcst_thresh ? isc_info[i].othresh.check(o_na[j]) : o_na[j]);
o_dat[j] = (apply_obs_thresh ? isc_info[i].othresh.check(o_na[j]) : o_na[j]);
diff[j] = f_dat[j] - o_dat[j];

// Find the maximum absolute difference
Expand Down

0 comments on commit 1fd1c59

Please sign in to comment.