Problem 1513 - typo in method: G4bool G4CascadeInterface::createTarget(G4int A, G4int Z) { (Z=1?proton:neutron)
Summary: typo in method: G4bool G4CascadeInterface::createTarget(G4int A, G4int Z) { (...
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/cascade (show other problems)
Version: 9.6
Hardware: All All
: P5 critical
Assignee: Michael Kelsey
URL:
Depends on:
Blocks:
 
Reported: 2013-08-04 15:56 CEST by a.ramazani
Modified: 2013-08-05 07:30 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.