mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fix potential bug in sample_nuclide routine. Thanks to @mellis13 for reporting.
This commit is contained in:
parent
b5f71255a3
commit
04e2c1960b
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ contains
|
|||
case ('total')
|
||||
cutoff = prn() * material_xs % total
|
||||
case ('scatter')
|
||||
cutoff = prn() * material_xs % total - material_xs % absorption
|
||||
cutoff = prn() * (material_xs % total - material_xs % absorption)
|
||||
case ('fission')
|
||||
cutoff = prn() * material_xs % fission
|
||||
end select
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue