| Summary: | typo in method: G4bool G4CascadeInterface::createTarget(G4int A, G4int Z) { (Z=1?proton:neutron) | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | a.ramazani |
| Component: | processes/hadronic/models/cascade | Assignee: | Michael Kelsey <kelsey> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | All | ||
| OS: | All | ||
Thank you for catching this. It is now fixed in the SVN repository tag hadr-casc-V09-06-46, and will be included in the 10.0 release. |
typo in method: G4bool G4CascadeInterface::createTarget(G4int A, G4int Z) { hadronTarget.fill(0., (Z=1?proton:neutron)); Error: (Z=1?proton:neutron) Correct: (Z==1?proton:neutron)