Skip to content
Snippets Groups Projects
Commit b529193f authored by Rene Brun's avatar Rene Brun
Browse files

Fix a side effect of a previous enhancement. Tutorial multifit.C was not

running correctly.


git-svn-id: http://root.cern.ch/svn/root/trunk@7080 27541ba8-7e3a-0410-8455-c3a389f83636
parent 8613d8b7
Branches
Tags
No related merge requests found
// @(#)root/hist:$Name: $:$Id: TFormula.cxx,v 1.50 2003/07/26 05:51:55 brun Exp $
// @(#)root/hist:$Name: $:$Id: TFormula.cxx,v 1.51 2003/08/09 06:41:08 brun Exp $
// Author: Nicolas Brun 19/08/95
/*************************************************************************
......@@ -898,7 +898,7 @@ void TFormula::Analyze(const char *schain, Int_t &err, Int_t offset)
} else {
find=0;
oldformula = (TFormula*)gROOT->GetListOfFunctions()->FindObject((const char*)chaine);
if (oldformula) {
if (oldformula && strcmp(schain,oldformula->GetTitle())) {
Int_t nprior = fNpar;
Analyze(oldformula->GetTitle(),err,fNpar); // changes fNpar
fNpar = nprior;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment