Skip to content

Commit 14e39c1

Browse files
authored
Merge pull request #49187 from kpedro88/SimTrackUninitialized
provide default value for SimTrack member variable
2 parents 31aa627 + 83481f2 commit 14e39c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimDataFormats/Track/interface/SimTrack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SimTrack : public CoreSimTrack {
7878
math::XYZVectorD tkposition;
7979
math::XYZTLorentzVectorD tkmomentum;
8080

81-
int idAtBoundary_;
81+
int idAtBoundary_{-1};
8282
math::XYZTLorentzVectorF positionAtBoundary_;
8383
math::XYZTLorentzVectorF momentumAtBoundary_;
8484
uint8_t trackInfo_;

0 commit comments

Comments
 (0)