From 49002ab6f046c0b65f267642496eea1cb7f32d14 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev <vvasilev@cern.ch> Date: Fri, 14 Oct 2016 13:33:50 +0200 Subject: [PATCH] Revert the regression introduced in bfcb4439. --- tutorials/math/exampleMultiRoot.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tutorials/math/exampleMultiRoot.C b/tutorials/math/exampleMultiRoot.C index f941131a4c9..eae9e5f13dd 100644 --- a/tutorials/math/exampleMultiRoot.C +++ b/tutorials/math/exampleMultiRoot.C @@ -55,9 +55,7 @@ void exampleMultiRoot(const char * algo = 0, int printlevel = 1) { #ifndef R__HAS_MATHMORE Error("exampleMultiRoot","libMathMore is not available - cannot run this tutorial"); - return; -#endif - +#else ROOT::Math::MultiRootFinder r(algo); //defining the function // use Rosenbrock functions @@ -75,5 +73,6 @@ void exampleMultiRoot(const char * algo = 0, int printlevel = 1) { // starting point double x0[2]={-1,-1}; r.Solve(x0); +#endif } -- GitLab