From 283eb32756160c9cc2e81f30f3d4139d7e997d85 Mon Sep 17 00:00:00 2001 From: Lorenzo Moneta <Lorenzo.Moneta@cern.ch> Date: Tue, 15 Mar 2016 17:24:25 +0100 Subject: [PATCH] Return the correct ordered matrix in RooFitResult::reducedCovarianceMatrix also when the size is the same. --- roofit/roofitcore/src/RooFitResult.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roofit/roofitcore/src/RooFitResult.cxx b/roofit/roofitcore/src/RooFitResult.cxx index 99e7ff2c2b6..74bad08a10d 100644 --- a/roofit/roofitcore/src/RooFitResult.cxx +++ b/roofit/roofitcore/src/RooFitResult.cxx @@ -1033,11 +1033,6 @@ TMatrixDSym RooFitResult::reducedCovarianceMatrix(const RooArgList& params) cons { const TMatrixDSym& V = covarianceMatrix() ; - // Handle case where V==Vred here - if (V.GetNcols()==params.getSize()) { - return V ; - } - // Make sure that all given params were floating parameters in the represented fit RooArgList params2 ; -- GitLab