From ccf5799f0fec6e2d8f9c9ae34c3ea83eab36b1a9 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 8 Dec 2020 06:49:02 -0600 Subject: [PATCH] Read correct discrete photon energy in _get_photon_products_endf --- openmc/data/reaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/reaction.py b/openmc/data/reaction.py index 474967167e..5e4287f16e 100644 --- a/openmc/data/reaction.py +++ b/openmc/data/reaction.py @@ -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'])