From cb3b08a62d7a9d3b0f59e251ec326869e28a3896 Mon Sep 17 00:00:00 2001 From: ccaillol Date: Wed, 31 Aug 2022 11:16:46 +0200 Subject: [PATCH] fix asan runtime errors --- L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc b/L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc index 7c4e3560aeb9a..ae73c2f2a3a34 100644 --- a/L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc +++ b/L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc @@ -133,7 +133,7 @@ void MuonPathAssociator::correlateMPaths(edm::Handle dtdigis, int sl1 = 0; int sl3 = 0; for (auto SL1metaPrimitive = SL1metaPrimitives.begin(); SL1metaPrimitive != SL1metaPrimitives.end(); - ++SL1metaPrimitive, sl1++, sl3 = -1) { + ++SL1metaPrimitive, sl1++, sl3 = 0) { if (clean_chi2_correlation_) at_least_one_correlation = false; for (auto SL3metaPrimitive = SL3metaPrimitives.begin(); SL3metaPrimitive != SL3metaPrimitives.end();