]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSplineFit.cxx
bug
[u/mrichter/AliRoot.git] / STEER / AliSplineFit.cxx
index 69be48e5adf1e3acb48a90beef32f94c37401de1..b0d02c68935e7fe4fdff74457e9c0d64bedc07b7 100644 (file)
@@ -630,6 +630,7 @@ void AliSplineFit::SplineFit(Int_t nder){
   TGraph * graph = fGraph;
   if (nder>1) nder=2;
   Int_t nknots  = fN;
+  if (nknots < 2 ) return;
   Int_t npoints = graph->GetN(); 
   //
   //