Skip to content

Commit

Permalink
[UBSAN] fix zero size array runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed May 24, 2023
1 parent 8cc6f24 commit 1334546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void MuonPathAssociator::correlateMPaths(edm::Handle<DTDigiCollection> dtdigis,
SL3metaPrimitives.push_back(metaprimitiveIt);
}

if (SL1metaPrimitives.empty() and SL3metaPrimitives.empty())
if (SL1metaPrimitives.empty() or SL3metaPrimitives.empty())
continue;

if (debug_)
Expand Down

0 comments on commit 1334546

Please sign in to comment.