Skip to content

Commit 83481f2

Browse files
committed
provide default value for member variable
1 parent dd7156a commit 83481f2

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)