Problem 857 - G4NeutronHPFission broken for compound materials
Summary: G4NeutronHPFission broken for compound materials
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models (show other problems)
Version: 7.1
Hardware: All All
: P2 major
Assignee: tkoi
URL:
Depends on:
Blocks:
 
Reported: 2006-04-09 02:42 CEST by naranjo
Modified: 2007-01-19 17:28 CET (History)
0 users

See Also:


Attachments

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