mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Read correct discrete photon energy in _get_photon_products_endf
This commit is contained in:
parent
7700bcf0b3
commit
ccf5799f0f
1 changed files with 1 additions and 1 deletions
|
|
@ -703,7 +703,7 @@ def _get_photon_products_endf(ev, rx):
|
|||
# TODO: Get file 15 distribution
|
||||
pass
|
||||
elif law == 2:
|
||||
energy = items[1]
|
||||
energy = items[0]
|
||||
primary_flag = items[2]
|
||||
dist.energy = DiscretePhoton(primary_flag, energy,
|
||||
ev.target['mass'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue