From 374269abd0c1f024af076317f3ba99b31a913b14 Mon Sep 17 00:00:00 2001 From: Olivier Couet Date: Wed, 12 Nov 2025 14:13:13 +0100 Subject: [PATCH] [skip-ci] TFormula doc fix --- hist/hist/src/TFormula.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hist/hist/src/TFormula.cxx b/hist/hist/src/TFormula.cxx index 8195ad77d3d33..a22d819eca0c5 100644 --- a/hist/hist/src/TFormula.cxx +++ b/hist/hist/src/TFormula.cxx @@ -120,17 +120,17 @@ std::string doubleToString(double val) above also applies to the predefined parametrized functions like `gaus` and `expo`. - Comparisons operators are also supported `(&&, ||, ==, <=, >=, !)` + Comparisons operators are also supported `(&&, ||, ==, <=, >=, !)` Examples: - `sin(x*(x<0.5 || x>1))` + `sin(x*(x<0.5 || x>1))` If the result of a comparison is TRUE, the result is 1, otherwise 0. Already predefined names can be given. For example, if the formula - `TFormula old("old",sin(x*(x<0.5 || x>1)))` + `TFormula old("old",sin(x*(x<0.5 || x>1)))` one can assign a name to the formula. By default the name of the object = title = formula itself. @@ -138,7 +138,7 @@ std::string doubleToString(double val) is equivalent to: - `TFormula new("new","x*sin(x*(x<0.5 || x>1))")` + `TFormula new("new","x*sin(x*(x<0.5 || x>1))")` The class supports unlimited number of variables and parameters. By default the names which can be used for the variables are `x,y,z,t` or