diff --git a/hist/src/TFormula.cxx b/hist/src/TFormula.cxx index 51cb756f872dbdb7c30c2eb31e0954ba47b06554..2af9bbce5c0b2b4f82fc154b4193e6974ee58766 100644 --- a/hist/src/TFormula.cxx +++ b/hist/src/TFormula.cxx @@ -1,4 +1,4 @@ -// @(#)root/hist:$Name: $:$Id: TFormula.cxx,v 1.65 2004/01/10 10:52:29 brun Exp $ +// @(#)root/hist:$Name: $:$Id: TFormula.cxx,v 1.66 2004/01/12 14:45:33 brun Exp $ // Author: Nicolas Brun 19/08/95 /************************************************************************* @@ -1468,7 +1468,7 @@ void TFormula::Analyze(const char *schain, Int_t &err, Int_t offset) } if (!err) { fExpr[fNoper] = chaine1ST; - fActions[fNoper] = kpol+inter2; + fActions[fNoper] = kpol+(inter2-1); fActionParams[fNoper] = n*100+inter+2; if (inter+n+1>=fNpar) fNpar = inter + n + 2; if (fNpar>=MAXPAR) err=7; // too many parameters