coverity fix
authorcterrevo <cterrevo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 May 2011 10:22:16 +0000 (10:22 +0000)
committercterrevo <cterrevo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 May 2011 10:22:16 +0000 (10:22 +0000)
ITS/UPGRADE/AliITStrackerUpgrade.cxx

index ed09c69..b6d6b42 100644 (file)
@@ -188,7 +188,7 @@ void AliITStrackerUpgrade::Init(){
   //  Reset all data members
   const Int_t nL = fNLayers;
   fPhiEstimate=0;
-  for(Int_t i=0;i<3;i++){fPoint1[i]=0;fPoint2[i]=0;fPoint3[i]=0;}
+  for(Int_t i=0;i<2;i++){fPoint1[i]=0;fPoint2[i]=0;fPoint3[i]=0;}
   fLambdac=0;
   fPhic=0;
   fCoef1=0;
@@ -257,7 +257,7 @@ Int_t AliITStrackerUpgrade::LoadClusters(TTree *clusTree){
 void AliITStrackerUpgrade::ResetForFinding(){
   //  Reset data members used in all loops during track finding
   fPhiEstimate=0;
-  for(Int_t i=0;i<3;i++){fPoint1[i]=0;fPoint2[i]=0;fPoint3[i]=0;}
+  for(Int_t i=0;i<2;i++){fPoint1[i]=0;fPoint2[i]=0;fPoint3[i]=0;}
   fLambdac=0;
   fPhic=0;
   fCoef1=0;