From c9d45d61928264ba5b3207ce6fa6487bec0eb079 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Sat, 26 Jul 2025 10:41:31 +0200 Subject: [PATCH] Fix coding rule violation --- Framework/Core/src/StepTHn.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Framework/Core/src/StepTHn.cxx b/Framework/Core/src/StepTHn.cxx index 4b2e81f02e1a2..bb0109db2c97f 100644 --- a/Framework/Core/src/StepTHn.cxx +++ b/Framework/Core/src/StepTHn.cxx @@ -327,8 +327,9 @@ void StepTHn::createTarget(Int_t step, Bool_t sparse) } THnBase* target = mTarget[step]; - if (mSumw2[step]) + if (mSumw2[step]) { target->Sumw2(); + } Int_t* binIdx = new Int_t[mNVars]; Int_t* nBins = new Int_t[mNVars];