Address #686 comments

This commit is contained in:
Sterling Harper 2016-07-28 09:06:38 -05:00
parent be7ca28dee
commit 3e2e4743d8

View file

@ -328,7 +328,7 @@ class IncidentNeutron(object):
# Build summed reactions. Start from the highest MT number because high
# MTs never depend on lower MTs.
for mt_sum in sorted(SUM_RULES.keys())[::-1]:
for mt_sum in sorted(SUM_RULES, reverse=True):
if mt_sum not in data:
xs_components = [data[mt].xs for mt in SUM_RULES[mt_sum]
if mt in data]