]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
correct warning, parameter defined as float is int
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 May 2010 15:57:18 +0000 (15:57 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 May 2010 15:57:18 +0000 (15:57 +0000)
EMCAL/AliEMCALRecPoint.cxx

index 2d330a0fea9bc88b70ee81ed1ea299e81866203e..86d28f7637d7b8e1225c831ea88d3e8188e45559 100644 (file)
@@ -1266,7 +1266,7 @@ Int_t AliEMCALRecPoint::GetMaximalEnergyIndex(void) const
   // Finds the maximum energy in the cluster
   
   Float_t menergy = 0. ;
   // Finds the maximum energy in the cluster
   
   Float_t menergy = 0. ;
-  Float_t mid     = 0. ;
+  Int_t mid       = 0  ;
   Int_t iDigit;
   
   for(iDigit=0; iDigit<fMulDigit; iDigit++) {
   Int_t iDigit;
   
   for(iDigit=0; iDigit<fMulDigit; iDigit++) {