When I try to run NumericalMinimization.C using
I get the error:
Error in <HandleInterpreterException>: Trying to dereference null pointer or trying to call routine taking non-null arguments. Execution of your code was aborted. In file included from input_line_9:1: tmp/NumericalMinimization.C:55:4: warning: null passed to a callee that requires a non-null argument [-Wnonnull] minimum->SetMaxFunctionCalls(1000000); // for Minuit/Minuit2 ^~~~~~~
I am running this on a Mac OS 10.14.5.