Problem 857

Summary: G4NeutronHPFission broken for compound materials
Product: Geant4 Reporter: naranjo
Component: processes/hadronic/modelsAssignee: tkoi
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   

Description naranjo 2006-04-09 02:42:05 CEST
Hi,

I'm using Geant 4.8.0.p01.  Using G4NeutronHPFission with fissionable materials
containing more than one element leads to segmentation faults or incorrect results.

In G4NeutronHPFission.cc, the variable 'index' is declared twice in nested
scopes.  It should only be declared in the outer scope.  So, remove 'index' from
line 66.

Brian
Comment 1 tkoi 2006-08-08 18:59:59 CEST
Hi Brian,

Thank you for reporting.
The declaration was deleted and it will be included next release.

Tatsumi
Comment 2 tkoi 2007-01-19 17:28:59 CET
This bug is fixed v8.2