TFractionFitter GetFitter problem (returns Fit::Fitter, not TVirtualFitter)

I just installed the binary for root v 6.10.00 on my macOS 10.11.4.

Now code using TFractionFitter leads to the following compilation error:
error: no member named ‘FixParameter’ in ‘ROOT::Fit::Fitter’

the offending line is fit->GetFitter()->FixParameter(i);
where ‘fit’ is a TFractionFitter*.
So it seems that this function returns a Fit::Fitter object, not a TVirtualFitter as before. Is that correct? If so, how can I fix a parameters in the TFractionFitter, fix parameters and ask for the number of free parameters? I guess this can be done using the FitConfig class but I had little luck finding documentation how to use this class.


You can call the FitCOnfig class to fix the ipar-th parameter:


The documentation of the Fitter class is available either rin Doxygen or in the User Guides



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