Skip to content

Commit

Permalink
Merge pull request #43792 from mmusich/silenceCPPwarnings
Browse files Browse the repository at this point in the history
silence CPP20 warnings about `maybe-uninitialized` variables in `momentumBiasValidation.C`
  • Loading branch information
cmsbuild authored Jan 30, 2024
2 parents 4a8d8c4 + c01d629 commit ff42400
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 ff42400

Please sign in to comment.