]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 18 Dec 2011 19:30:22 +0000 (19:30 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 18 Dec 2011 19:30:22 +0000 (19:30 +0000)
STEER/ESD/AliKFParticleBase.cxx

index 6fb0e6d2f0486790545ec88a186016945f3d0598..bbd64b9eb0b242e76b5216e50b00e36de7ddb9f1 100644 (file)
@@ -1337,7 +1337,7 @@ void AliKFParticleBase::SetMassConstraint( Double_t *mP, Double_t *mC, Double_t
   Double_t Lambda2 = Lambda*Lambda;
 
   Double_t dfl  = -4.*M2 * Lambda2*Lambda + 2.*a*Lambda + b;
-  Double_t dfx[4] = {0,0,0,0};
+  Double_t dfx[7] = {0};//,0,0,0};
   dfx[0] = -2.*(1. + Lambda)*(1. + Lambda)*mP[3];
   dfx[1] = -2.*(1. + Lambda)*(1. + Lambda)*mP[4];
   dfx[2] = -2.*(1. + Lambda)*(1. + Lambda)*mP[5];