Skip to content

Commit a0e8aa9

Browse files
ferdymercurydpiparo
authored andcommitted
[nfc] clangformat
1 parent 0942536 commit a0e8aa9

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

hist/hist/src/TFormula.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3601,7 +3601,7 @@ void TFormula::ReInitializeEvalMethod() {
36013601
/// - If option = "CLINGP" replace in the CLING expression the parameter with their values
36023602
/// @param fl_format specifies the printf floating point precision when option
36033603
/// contains "p". Default is `%g` (6 decimals). If you need more precision,
3604-
/// change e.g. to `%.9f`, or `%a` for a lossless representation.
3604+
/// change e.g. to `%.9f`, or `%a` for a lossless representation.
36053605
/// @see https://cplusplus.com/reference/cstdio/printf/
36063606

36073607
TString TFormula::GetExpFormula(Option_t *option, const char *fl_format) const
@@ -3640,7 +3640,7 @@ TString TFormula::GetExpFormula(Option_t *option, const char *fl_format) const
36403640
TString parNumbName = clingFormula(i+2,j-i-2);
36413641
int parNumber = parNumbName.Atoi();
36423642
assert(parNumber < fNpar);
3643-
TString replacement = TString::Format(fl_format,GetParameter(parNumber));
3643+
TString replacement = TString::Format(fl_format, GetParameter(parNumber));
36443644
clingFormula.Replace(i,j-i+1, replacement );
36453645
i += replacement.Length();
36463646
}

hist/hist/src/TFormula_v5.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ Double_t TFormula::EvalParOld(const Double_t *x, const Double_t *uparams)
30203020
/// "(3.25*(x>+4.01))+(4.44*exp(+0.04*x))"
30213021
/// @param fl_format specifies the printf floating point precision when option
30223022
/// contains "p". Default is `%g` (6 decimals). If you need more precision,
3023-
/// change e.g. to `%.9f`, or `%a` for a lossless representation.
3023+
/// change e.g. to `%.9f`, or `%a` for a lossless representation.
30243024
/// @see https://cplusplus.com/reference/cstdio/printf/
30253025

30263026
TString TFormula::GetExpFormula(Option_t *option, const char *fl_format) const

test/TFormulaParsingTests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ bool test16() {
308308
// test GetExpFormula
309309
TFormula f("f","[2] + [0]*x + [1]*x*x");
310310
f.SetParameters(1,2,3);
311-
return (f.GetExpFormula("CLING P", "%f") == TString("3.000000+1.000000*x[0]+2.000000*x[0]*x[0] ") );
311+
return (f.GetExpFormula("CLING P", "%f") == TString("3.000000+1.000000*x[0]+2.000000*x[0]*x[0] "));
312312
}
313313

314314
bool test17() {

tree/tree/test/TTreeRegressions.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,3 @@ TEST(TTreeRegressions, PrintTopOnlySplit)
222222
"branch: ev 0\n";
223223
EXPECT_EQ(output, ref);
224224
}
225-

0 commit comments

Comments
 (0)