From 11a2c31031eeabe29595ab335716739bc2c24cb1 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 11 Aug 2016 22:12:47 -0400 Subject: [PATCH] Removed unreachable return in get_thermal_name(...) --- openmc/data/thermal.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openmc/data/thermal.py b/openmc/data/thermal.py index 8b6e35b61a..cd44f21f95 100644 --- a/openmc/data/thermal.py +++ b/openmc/data/thermal.py @@ -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 \ No newline at end of file + return table