diff --git a/test/TFormulaParsingTests.h b/test/TFormulaParsingTests.h index ca385b31d480c31c339fda1e35d3b3dbde89819a..6f28616fcbb5225e9ebb3c5f08e54e1020f6e507 100644 --- a/test/TFormulaParsingTests.h +++ b/test/TFormulaParsingTests.h @@ -601,13 +601,15 @@ bool test35() { g1.SetParameters(par.data()); ok &= TMath::AreEqualRel( f1.Eval(2), g1.Eval(2), 1.E-6); + if (!ok) std::cout << "Error in test35 - f1 != g1 " << f1.Eval(2) << " " << g1.Eval(2) << std::endl; TF1 f2("f2","cheb10(0)+cheb1(11)",-1,1); TF1 g2("g2",[](double *x, double *p){ return ROOT::Math::ChebyshevN(10, x[0], p ) + ROOT::Math::ChebyshevN(1,x[0],p+11 ); }, -1, 1, 13); f2.SetParameters(par.data()); g2.SetParameters(par.data()); - ok &= TMath::AreEqualRel( f2.Eval(2), g2.Eval(2), 1.E-6); + ok &= TMath::AreEqualRel( f2.Eval(2), g2.Eval(2), 1.E-6); + if (!ok) {std::cout << "Error in test35 - f2 != g2 " << f2.Eval(2.) << " " << g2.Eval(2.) << std::endl; return ok; }