Skip to content

Commit

Permalink
Fix ASAN unit test in SLHCUpgradeSimulations/Geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Sep 23, 2020
1 parent 30b4cf0 commit efd2a19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions L1Trigger/TrackFindingTracklet/src/FitTrack.cc
Expand Up @@ -934,7 +934,7 @@ void FitTrack::execute() {
bool match = false;

if (indexArray[0] < matches1.size()) {
while (matches1[indexArray[0]] == bestTracklet && indexArray[0] < matches1.size()) {
while (indexArray[0] < matches1.size() && matches1[indexArray[0]] == bestTracklet) {
indexArray[0]++;
nMatches++;
match = true;
Expand All @@ -946,7 +946,7 @@ void FitTrack::execute() {
match = false;

if (indexArray[1] < matches2.size()) {
while (matches2[indexArray[1]] == bestTracklet && indexArray[1] < matches2.size()) {
while (indexArray[1] < matches2.size() && matches2[indexArray[1]] == bestTracklet) {
indexArray[1]++;
nMatches++;
match = true;
Expand All @@ -958,7 +958,7 @@ void FitTrack::execute() {
match = false;

if (indexArray[2] < matches3.size()) {
while (matches3[indexArray[2]] == bestTracklet && indexArray[2] < matches3.size()) {
while (indexArray[2] < matches2.size() && matches2[indexArray[2]] == bestTracklet) {
indexArray[2]++;
nMatches++;
match = true;
Expand All @@ -970,7 +970,7 @@ void FitTrack::execute() {
match = false;

if (indexArray[3] < matches4.size()) {
while (matches4[indexArray[3]] == bestTracklet && indexArray[3] < matches4.size()) {
while (indexArray[3] < matches2.size() && matches2[indexArray[3]] == bestTracklet) {
indexArray[3]++;
nMatches++;
match = true;
Expand Down

0 comments on commit efd2a19

Please sign in to comment.