Problem 1513

Summary: typo in method: G4bool G4CascadeInterface::createTarget(G4int A, G4int Z) { (Z=1?proton:neutron)
Product: Geant4 Reporter: a.ramazani
Component: processes/hadronic/models/cascadeAssignee: Michael Kelsey <kelsey>
Status: RESOLVED FIXED    
Severity: critical    
Priority: P5    
Version: 9.6   
Hardware: All   
OS: All   

Description a.ramazani 2013-08-04 15:56:09 CEST
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)
Comment 1 Michael Kelsey 2013-08-05 07:30:15 CEST
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.