We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34dae92 + fcdcd13 commit b98755bCopy full SHA for b98755b
SimG4Core/CustomPhysics/src/FullModelReactionDynamics.cc
@@ -2281,10 +2281,9 @@ G4double FullModelReactionDynamics::GenerateNBodyEvent(const G4double totalEnerg
2281
wtmax = std::log(std::pow(kineticEnergy, vecLen - 2) * ffq[vecLen - 1] / totalE);
2282
}
2283
lzero = true;
2284
- G4double pd[50];
+ G4double pd[50] = {0.0};
2285
//G4double *pd = new G4double [vecLen-1];
2286
for (i = 0; i < vecLen - 1; ++i) {
2287
- pd[i] = 0.0;
2288
if (emm[i + 1] * emm[i + 1] > 0.0) {
2289
G4double arg = emm[i + 1] * emm[i + 1] +
2290
(emm[i] * emm[i] - mass[i + 1] * mass[i + 1]) * (emm[i] * emm[i] - mass[i + 1] * mass[i + 1]) /
0 commit comments