TGraph fitting bug

From: Pavol Strizenec (strizene@mppmu.mpg.de)
Date: Fri Oct 16 1998 - 16:26:47 MEST


  Dear Rooters,

  I would like to report small bug in fitting the graph.
If one have the constant in the graph, and try to fit with first
order polynomial, result is floating point exception.
Let's try the following macro:

{
gROOT->Reset();

Float_t a[5]={1,2,3,4,5};
Float_t b[5]={0.5,0.5,0.5,0.5,0.5};

TGraph *test = new TGraph(5,a,b);

test->Fit("pol1");
}

with other functions (e.g. gauss) all works normaly. The same is true
for constant histogram.

 I am working with Root v. 2.00/12, on Alpha/Unix with DEC/CXX compiler.

	Cheers,


**************************************
Pavol Strizenec  strizene@mppmu.mpg.de
**************************************



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET