Removed unreachable return in get_thermal_name(...)

This commit is contained in:
Will Boyd 2016-08-11 22:12:47 -04:00
parent b791450b75
commit 11a2c31031

View file

@ -59,8 +59,6 @@ def get_thermal_name(name):
# OK, we give up. Just use the ACE name.
return 'c_' + name
return name
class CoherentElastic(object):
r"""Coherent elastic scattering data from a crystalline material
@ -416,4 +414,4 @@ class ThermalScattering(object):
pairs = np.fromiter(map(lambda p: p[0], ace.pairs), int)
table.zaids = pairs[np.nonzero(pairs)]
return table
return table