Skip to content

Commit

Permalink
init m_isUnbinned
Browse files Browse the repository at this point in the history
  • Loading branch information
timadye authored Sep 24, 2024
1 parent be8e8f4 commit f6877db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/include/Acts/TrackFinding/TrackSelector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class TrackSelector {

private:
EtaBinnedConfig m_cfg;
bool m_isUnbinned;
bool m_isUnbinned = false;
};

inline TrackSelector::Config& TrackSelector::Config::loc0(double min,
Expand Down Expand Up @@ -451,7 +451,6 @@ inline TrackSelector::TrackSelector(
"TrackSelector cut / eta bin configuration is inconsistent"};
}

m_isUnbinned = false;
if (m_cfg.nEtaBins() == 1) {
static const std::vector<double> infVec = {0, inf};
m_isUnbinned =
Expand Down

0 comments on commit f6877db

Please sign in to comment.