Config the default fitter(minimizer) in histgram or graph fitting

Hi all,

May I ask for your help about how to change the minimizer strategy?
I am using gragh->Fit() to perform the fit with ROOT 5.34.
The defalt strategy is 1, while I would like to change that to 2.
Thanks.

ROOT Version: 5.34
Platform: linux
Compiler: gcc


Try: ROOT::Math::MinimizerOptions::SetDefaultStrategy(2);

1 Like