Temporary fix for bug #70102: Arithmetic exception in AliTRDtrackerV1::FitTiltedRieman
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Jul 2010 09:11:33 +0000 (09:11 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Jul 2010 09:11:33 +0000 (09:11 +0000)
TRD/AliTRDtrackerV1.cxx

index babfdc660d2558ec944cb1c3dad7469c0a9efca3..87fbcaa34cff3e39003b21383ccf6b9447cf220c 100644 (file)
@@ -1271,7 +1271,7 @@ Float_t AliTRDtrackerV1::FitTiltedRieman(AliTRDseedV1 *tracklets, Bool_t sigErro
       nPoints++;
     }
   }
-  fitter->Eval();
+  if (fitter->Eval()) return 1.e10;
   zfitter.Eval();
 
   Double_t offset = fitter->GetParameter(3);