Skip to content
Snippets Groups Projects
Commit ef0f4539 authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

fix compilation error on Solaris

git-svn-id: http://root.cern.ch/svn/root/trunk@36798 27541ba8-7e3a-0410-8455-c3a389f83636
parent 55046c16
No related branches found
No related tags found
No related merge requests found
......@@ -322,8 +322,8 @@ public:
bool IsValidError() const { return fValidError; }
/// retrieve the minimizer options (implement derived class if needed)
virtual ROOT::Math::MinimizerOptions Options() const {
ROOT::Math::MinimizerOptions opt;
virtual MinimizerOptions Options() const {
MinimizerOptions opt;
opt.SetPrintLevel(fDebug);
opt.SetStrategy(fStrategy);
opt.SetMaxFunctionCalls(fMaxCalls);
......@@ -360,7 +360,7 @@ public:
void SetValidError(bool on) { fValidError = on; }
/// set all options in one go
void SetOptions(const ROOT::Math::MinimizerOptions & opt) {
void SetOptions(const MinimizerOptions & opt) {
fDebug = opt.PrintLevel();
fStrategy = opt.Strategy();
fMaxCalls = opt.MaxFunctionCalls();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment