From 2eb70aa975bfc2655cf56faf216c8fa9995b23f5 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Wed, 16 Mar 2016 13:07:01 +0000 Subject: [PATCH] Minuit simplex minimiser is very inefficient, replaced it by Migrad for pre-minization --- lib/MinuitMinimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MinuitMinimizer.cpp b/lib/MinuitMinimizer.cpp index 5964095..4d8bab6 100644 --- a/lib/MinuitMinimizer.cpp +++ b/lib/MinuitMinimizer.cpp @@ -134,7 +134,7 @@ const DVec & MinuitMinimizer::operator()(const DoubleFunction &f) } // pre-minimization - MnSimplex preMinimizer(minuitF, parameters, 1); + MnMigrad preMinimizer(minuitF, parameters, 1); FunctionMinimum preMin = preMinimizer(); if (verbosity >= Verbosity::Debug)