Fit converges but result doesn't make sense


I am trying to fit a function to a set of data points.
The fit converges but the results are meaningless.
The attached macro demonstrates what is happening.

Could someone please tell me what I am doing incorrectly?
fitFail.C (1.1 KB)


   myFunction->SetParameters(15., -5.); // set "reasonable" initial values
   grae->Fit(myFunction, ""); // do not use "M"
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.