From 607be496bce599032ca74bb15b8c2adb312de7b6 Mon Sep 17 00:00:00 2001 From: Jose Ignacio Marquez Damian Date: Thu, 22 Sep 2022 14:58:52 -0300 Subject: [PATCH] Fix elastic distribution Elastic distributions were created but not used --- openmc/data/thermal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/data/thermal.py b/openmc/data/thermal.py index 3d5f2df64..7e66b6319 100644 --- a/openmc/data/thermal.py +++ b/openmc/data/thermal.py @@ -730,10 +730,10 @@ class ThermalScattering(EqualityMixin): if ace.nxs[5] == 3: xs = incoherent_xs - dist = incoherent_dist + distribution = incoherent_dist elif ace.nxs[5] == 4: xs = coherent_xs - dist = coherent_dist + distribution = coherent_dist else: # Create mixed cross section -- note that coherent must come # first due to assumption on C++ side