Skip to content

Commit

Permalink
Initialize bool member in tmtt::Settings
Browse files Browse the repository at this point in the history
This should fix an UBSAN warning.
  • Loading branch information
Dr15Jones committed Feb 4, 2022
1 parent a53fa96 commit cf4b248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTMTT/src/Settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ namespace tmtt {
hybrid_ = true;
magneticField_ = 0.; // Value set later
killScenario_ = 0; // Emulation of dead modules
killRecover_ = false;

if (hybrid_) {
if (not useApproxB_) {
Expand Down

0 comments on commit cf4b248

Please sign in to comment.