Skip to content

Commit

Permalink
Per #2022, ci-run-unit fix an aggregation bug in VL1L2Info::operator+…
Browse files Browse the repository at this point in the history
…=().
  • Loading branch information
JohnHalleyGotway committed May 26, 2022
1 parent 94d4dd6 commit a347a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcode/vx_statistics/met_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1353,8 +1353,8 @@ VL1L2Info & VL1L2Info::operator+=(const VL1L2Info &c) {
v_info.uvfoa_bar = (uvfoa_bar*vacount + c.uvfoa_bar*c.vacount)/v_info.vacount;
v_info.uvffa_bar = (uvffa_bar*vacount + c.uvffa_bar*c.vacount)/v_info.vacount;
v_info.uvooa_bar = (uvooa_bar*vacount + c.uvooa_bar*c.vacount)/v_info.vacount;
v_info.fa_speed_bar = (fa_speed_bar*vcount + c.fa_speed_bar*c.vcount)/v_info.vcount;
v_info.oa_speed_bar = (oa_speed_bar*vcount + c.oa_speed_bar*c.vcount)/v_info.vcount;
v_info.fa_speed_bar = (fa_speed_bar*vacount + c.fa_speed_bar*c.vacount)/v_info.vacount;
v_info.oa_speed_bar = (oa_speed_bar*vacount + c.oa_speed_bar*c.vacount)/v_info.vacount;
}

v_info.compute_stats();
Expand Down

0 comments on commit a347a83

Please sign in to comment.