Skip to content

Commit

Permalink
Merge pull request #699 from tontyoutoure/resolution_init
Browse files Browse the repository at this point in the history
make sure energy resolution has a initial value
  • Loading branch information
kochebina authored Sep 3, 2024
2 parents 0546479 + 5e78e9e commit af49975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/digits_hits/src/GateEnergyResolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void GateEnergyResolution::Digitize()

GateDigi* inputDigi;

G4double reso;
G4double reso = 0;

if (IDC)
{
Expand Down

0 comments on commit af49975

Please sign in to comment.