Skip to content

Commit

Permalink
Phase2L1CaloJetEmulator: fix maybe-uninitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Apr 5, 2024
1 parent ac2d51b commit 11e7a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ namespace gctobj {

inline jetInfo getJetValues(GCTsupertower_t tempX[nSTEta][nSTPhi], int seed_eta, int seed_phi) {
float temp[nSTEta + 2][nSTPhi + 2];
float eta_slice[3];
float eta_slice[3] = {0.f, 0.f, 0.f};
jetInfo jet_tmp;

for (int i = 0; i < nSTEta + 2; i++) {
Expand Down

0 comments on commit 11e7a49

Please sign in to comment.