Skip to content

Commit

Permalink
Phase2L1CaloPFClusterEmulator: fix warnings in getEt
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Oct 20, 2023
1 parent 245daa4 commit db5d744
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 db5d744

Please sign in to comment.