Skip to content

Commit 21d54af

Browse files
committed
suppress clang-tidy warning in CaloWaveformFitting
1 parent 89b1112 commit 21d54af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

offline/packages/CaloReco/CaloWaveformFitting.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,8 @@ double CaloWaveformFitting::SignalShape_PowerLawDoubleExp(double *x, double *par
659659
return pedestal + signal;
660660
}
661661

662-
663-
double CaloWaveformFitting::SignalShape_FermiExp(double *x, double *par)
662+
// chp: needs to be verified, but I can vaguely recall that making the args const fails in root
663+
double CaloWaveformFitting::SignalShape_FermiExp(double *x, double *par) //NOLINT(readability-non-const-parameter)
664664
{
665665
// par[0]: Amplitude
666666
// par[1]: Midpoint (t0)

0 commit comments

Comments
 (0)