Skip to content

Commit

Permalink
Merge pull request #43070 from iarspider/patch-8
Browse files Browse the repository at this point in the history
Phase2L1CaloPFClusterEmulator: fix warnings in getEt
  • Loading branch information
cmsbuild committed Oct 24, 2023
2 parents 5378b74 + db5d744 commit 07a781e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace gctpf {
}

inline float getEt(float temp[nTowerEtaSLR][nTowerPhiSLR], int eta, int phi) {
float et_sumEta[3];
float et_sumEta[3] = {0., 0., 0.};

for (int i = 0; i < (nTowerEtaSLR - 2); i++) {
for (int j = 0; j < (nTowerPhiSLR - 2); j++) {
Expand Down

0 comments on commit 07a781e

Please sign in to comment.