diff --git a/L1Trigger/L1CaloTrigger/interface/Phase2L1CaloPFClusterEmulator.h b/L1Trigger/L1CaloTrigger/interface/Phase2L1CaloPFClusterEmulator.h index bc5fcc7b4542d..376c4a8c98d09 100644 --- a/L1Trigger/L1CaloTrigger/interface/Phase2L1CaloPFClusterEmulator.h +++ b/L1Trigger/L1CaloTrigger/interface/Phase2L1CaloPFClusterEmulator.h @@ -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++) {