From 645ecce9257acab05611919c5da72d94f39fd203 Mon Sep 17 00:00:00 2001 From: barbera Date: Fri, 19 Jul 2002 12:28:36 +0000 Subject: [PATCH] Bad vector indexing corrected (from F. Carminati) --- ITS/AliITSMapA2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ITS/AliITSMapA2.cxx b/ITS/AliITSMapA2.cxx index 389307e741e..53c1569ceab 100644 --- a/ITS/AliITSMapA2.cxx +++ b/ITS/AliITSMapA2.cxx @@ -57,7 +57,7 @@ AliITSMapA2::AliITSMapA2(AliITSsegmentation *seg){ fNpz = fSegmentation->Npz(); fNpx = fSegmentation->Npx(); fMaxIndex = fNpz*fNpx+fNpx; // 2 halves of detector - fHitMapD = new Double_t[fMaxIndex]; + fHitMapD = new Double_t[fMaxIndex+1]; fMapThresholdD = 0.; fObjects = 0; fNobjects = 0; -- 2.39.3