ATO-17 - bug fix indicated by valgrind -index out of range
authormivanov <marian.ivanov@cern.ch>
Fri, 11 Jul 2014 09:23:34 +0000 (11:23 +0200)
committermivanov <marian.ivanov@cern.ch>
Fri, 11 Jul 2014 09:23:34 +0000 (11:23 +0200)
TPC/Base/AliTPCParam.cxx

index 6ca630b..6a89611 100644 (file)
@@ -886,7 +886,7 @@ Int_t AliTPCParam::GetNPadsPerSegment(Int_t wireSegmentID) const
     segRowUp   = 48;
   } else if ( wireSegmentID == 3 || wireSegmentID == 7 ) {
     segRowDown = 48;
-    segRowUp   = 64;
+    segRowUp   = 63;
   } else if ( wireSegmentID == 8 ) {
     segRowDown = 64;
     segRowUp   = 75;