]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSplineFit.cxx
Removing warnings (icc)
[u/mrichter/AliRoot.git] / STEER / AliSplineFit.cxx
index 2a536dae283f1149201cda3e07a834eea20c78bc..9e200df179d9c9c14d20f601c5a58bba5e681b09 100644 (file)
@@ -13,6 +13,8 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //                Implementation of the AliSplineFit class
 //   The class performs a spline fit on an incoming TGraph. The graph is 
@@ -24,6 +26,7 @@
 //   Adjustments by Haavard Helstrup,  Haavard.Helstrup@cern.ch
 //-------------------------------------------------------------------------
 
+#include <TMath.h>
 
 #include "AliSplineFit.h"
  
@@ -298,7 +301,7 @@ TH1F * AliSplineFit::MakeDiffHisto(TGraph * graph0) const {
   //
 
   Int_t npoints=graph0->GetN();
-  Float_t min=1e+39,max=-1e+39;
+  Float_t min=1e+33,max=-1e+33;
   for (Int_t ip=0; ip<npoints; ip++){
     Double_t x = graph0->GetX()[ip];
     Double_t y = Eval(x,0)-graph0->GetY()[ip];