]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coverity fix
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Jan 2013 12:25:28 +0000 (12:25 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Jan 2013 12:25:28 +0000 (12:25 +0000)
ITS/UPGRADE/AliITSUTrackerGlo.cxx

index fa0621bd9b25bf1910146459fd8beb35a991b7d3..a284fd6ab0cc6132db1d99d0394bdb0a9733e93f 100644 (file)
@@ -622,7 +622,7 @@ Bool_t AliITSUTrackerGlo::PropagateSeed(AliITSUSeed *seed, Double_t xToGo, Doubl
   Double_t xyz0[3],xyz1[3],param[7];
   //
   Bool_t updTime = dir>0 && seed->IsStartedTimeIntegral();
-  if (matCorr) seed->GetXYZ(xyz1);   //starting global position
+  if (matCorr || updTime) seed->GetXYZ(xyz1);   //starting global position
   while ( (xToGo-xpos)*dir > kEpsilon){
     Double_t step = dir*TMath::Min(TMath::Abs(xToGo-xpos), maxStep);
     Double_t x    = xpos+step;