Hi!
I’m trying to run a script that uses Minuit2 and get the error:
Limitation: Reference member not supported. Please use pointer Minuit2/ABObj.h:98:
I read that this probably means that I have to build Minuit2 as it’s not built on default.
But I am using root v5 28.00 (and OS X 10.8.3) and checked by
"root-config --has-minuit2"
(it says “yes”) if the libraries are built…they seem to be built.
What else could be the problem?
Any help appreciated!
I think you will get “Minuit” when you try:
std::cout << TVirtualFitter::GetDefaultFitter() << std::endl;
So, you need to:
TVirtualFitter::SetDefaultFitter(“Minuit2”);
See also:
http://root.cern.ch/root/html/tutorials/fit/
http://root.cern.ch/drupal/content/numerical-minimization
Hi!
I tried that and get the same error. I’ve also looked at every tutorial I could find in the web but still don’t get it working
Try to run your script through ACLiC using something like:
root [0] gSystem->Load(“libMinuit2”); // just a precaution
root [1] .x SomeScript.cxx++