Stupid bug fix in new superlight mode (from Zurich airport)
[u/mrichter/AliRoot.git] / ITS / AliITSTPArrayFit.cxx
index 9f40b2b..fa132ef 100644 (file)
@@ -967,7 +967,7 @@ Bool_t AliITSTPArrayFit::FitHelixCrude(Int_t extQ)
   //
   const float *x=fkPoints->GetX(),*y=fkPoints->GetY(),*z=fkPoints->GetZ(),*cov=fkPoints->GetCov();
   //
-  if (fPntLast>arrU.GetSize()) {
+  if (fPntLast>=arrU.GetSize()) {
     arrU.Set(2*fPntLast);
     arrV.Set(2*fPntLast);
     arrW.Set(2*fPntLast);