Skip to content

Commit

Permalink
Per #2882, call is_bad_data() instead of is_eq(..., -9999.0) to get r…
Browse files Browse the repository at this point in the history
…id of compiler warning message.
  • Loading branch information
JohnHalleyGotway committed Sep 24, 2024
1 parent eb40c5d commit 0ecf310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcode/vx_statistics/compute_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ void compute_aggregated_seeps_grid(const DataPlane &fcst_dp, const DataPlane &ob
mlog << Debug(9) << method_name
<< "obs_value, fcst_value: "
<< obs_value << " " << fcst_value << "\n";
if (!is_eq(fcst_value, -9999.0) && !is_eq(obs_value, -9999.0)) {
if (!is_bad_data(fcst_value) && !is_bad_data(obs_value)) {
SeepsScore *seeps_mpr = seeps_climo->get_record(ix, iy, fcst_value, obs_value);
if (seeps_mpr != nullptr) {
fcst_cat = seeps_mpr->fcst_cat;
Expand Down

0 comments on commit 0ecf310

Please sign in to comment.