Fix elastic distribution

Elastic distributions were created but not used
This commit is contained in:
Jose Ignacio Marquez Damian 2022-09-22 14:58:52 -03:00 committed by GitHub
parent cbd8376238
commit 607be496bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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