TEfficiency::Fit function returns null TFitResult* with option "S"


I’m trying to use the TEfficiency::Fit function and get the covariance matrix of the fit parameters. It seems that the TFitResultPtr object contains a null TFitResult* even when option “S” is used.

I modified the TEfficiency::Fit example found in ROOT documentation for you to quickly replicate the problem:
EffiFitTest.cc (1.0 KB)

Am I doing something wrong or is this really a bug?


ROOT Version: 6.08/02
Platform: Debian 3.16.43-2 x86_64
Compiler: gcc 4.9.2

I guess you need a newer ROOT version.

You were right, it works now. Thanks.

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