TFormula issue in root_6.14.04

If I do:

root [0] TFormula a;
root [1] a.AddVariable(TString(“b”),0);
root [2] a.AddParameter(TString(“c”),0);

Root returns normal.

If I don’t do line 1 “a.AddVariable(TString(“b”),0);” root hangs and does not return. I am using the downloaded binary for root_6.14.04 for Centos 7.5.
root_6.12.06 does not hang.

Hi,

master says:

Error in <TFormula::ProcessFormula>: Formula "" is invalid !

That’s the right behavior - you’re adding a new parameter to an empty TFormula. @moneta do we have an example of the use of AddParameter()?