Fixed a reoccuring bug. Array sizes must be declare const.
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 5 Mar 2001 14:48:46 +0000 (14:48 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 5 Mar 2001 14:48:46 +0000 (14:48 +0000)
ITS/AliITSClusterFinderSPD.cxx

index 7847bf4224b74dd39c8aabc6272e5515c4c96cc1..e9041ffc802dc1a041d9f65f7ada188d66cab21c 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/*
+$Log$
+*/
+
 #include <iostream.h>
 #include "AliITSClusterFinderSPD.h"
 #include "AliITSMapA1.h"
@@ -288,7 +292,7 @@ void AliITSClusterFinderSPD::TracksInCluster()
   nofClusters -= fNclusters;
 
   Int_t i, ix, iz, jx, jz, xstart, xstop, zstart, zstop, nclx, nclz;
-  Int_t trmax = 100;
+  const Int_t trmax = 100;
   Int_t cltracks[trmax], itr, tracki, ii, is, js, ie, ntr, tr0, tr1, tr2;
 
   for(i=0; i<nofClusters; i++) {