Skip to content

Commit

Permalink
fix bug spotted by sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn committed Nov 11, 2017
1 parent bf43443 commit 34afdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTracker/FinalTrackSelectors/plugins/TrackMerger.cc
Expand Up @@ -164,7 +164,7 @@ void TrackMerger::addSecondTrackHits(std::vector<const TrackingRecHit *>& hits,
}
if (hit2->isValid() && !valid) {
PRINT << " replacing old invalid hit on detid " << id2() << std::endl;
hit2 = hit; shared = true; break;
hit = hit2; shared = true; break;
}
PRINT << " discared as additional hit on layer that already contains hit with detid " << id() << std::endl;
shared = true; break;
Expand Down

0 comments on commit 34afdec

Please sign in to comment.