Skip to content

Commit

Permalink
default initialize TrajectorySeed::dir_
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77 committed Oct 23, 2021
1 parent 2e9fd62 commit 71533e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/TrajectorySeed/interface/TrajectorySeed.h
Expand Up @@ -59,7 +59,7 @@ class TrajectorySeed {
private:
RecHitContainer hits_;
PTrajectoryStateOnDet tsos_;
PropagationDirection dir_;
PropagationDirection dir_ = oppositeToMomentum; // = 0
};

inline void swap(TrajectorySeed& rh, TrajectorySeed& lh) noexcept { rh.swap(lh); }
Expand Down

0 comments on commit 71533e0

Please sign in to comment.