Skip to content

Commit

Permalink
silence CPP20 warnings about maybe-uninitialized variables in momentu…
Browse files Browse the repository at this point in the history
…mBiasValidation.C
  • Loading branch information
mmusich committed Jan 26, 2024
1 parent bb52510 commit c01d629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Alignment/OfflineValidation/macros/momentumBiasValidation.C
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ namespace eop {
double mean = f1->GetParameter(1);
double deviation = f1->GetParameter(2);

double lowLim;
double upLim;
double lowLim{mean - (2.0 * deviation)};
double upLim{mean + (2.0 * deviation)};
double newmean;

double degrade = 0.05;
Expand Down

0 comments on commit c01d629

Please sign in to comment.