the max for a float is 10^38.23
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Dec 2010 10:34:08 +0000 (10:34 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Dec 2010 10:34:08 +0000 (10:34 +0000)
STEER/AliSplineFit.cxx

index d464d67..121c7ad 100644 (file)
@@ -308,7 +308,7 @@ TH1F * AliSplineFit::MakeDiffHisto(TGraph * graph0) const {
   //
 
   Int_t npoints=graph0->GetN();
-  Float_t min=1e+39,max=-1e+39;
+  Float_t min=1e38,max=-1e38;
   for (Int_t ip=0; ip<npoints; ip++){
     Double_t x = graph0->GetX()[ip];
     Double_t y = Eval(x,0)-graph0->GetY()[ip];