Fix size of array declaration, as pointed out by Andrei
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2009 14:39:17 +0000 (14:39 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2009 14:39:17 +0000 (14:39 +0000)
TRD/AliTRDgeometry.cxx

index 05307cd..24ba7a0 100644 (file)
@@ -969,7 +969,7 @@ void AliTRDgeometry::CreateFrame(Int_t *idtmed)
   Float_t parTRP[kNparTRP];
 
   // The rotation matrices
-  const Int_t kNmatrix = 6;
+  const Int_t kNmatrix = 7;
   Int_t   matrix[kNmatrix];
   gMC->Matrix(matrix[0], 100.0,   0.0,  90.0,  90.0,  10.0,   0.0);
   gMC->Matrix(matrix[1],  80.0,   0.0,  90.0,  90.0,  10.0, 180.0);