From e35f317099509c2bdfd38f079cd81d193718795a Mon Sep 17 00:00:00 2001 From: Ethan Peterson Date: Tue, 26 May 2020 16:07:51 -0400 Subject: [PATCH] Applying suggestion from code review Co-authored-by: Paul Romano --- openmc/plotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/plotter.py b/openmc/plotter.py index 6d705a1a9..5da0e81e5 100644 --- a/openmc/plotter.py +++ b/openmc/plotter.py @@ -476,7 +476,7 @@ def _calculate_cexs_nuclide(this, types, temperature=294., sab_name=None, funcs.append(lambda x: xi) else: funcs.append(lambda x: 0.) - funcs = funcs if funcs else [lambda x:0.] + funcs = funcs if funcs else [lambda x: 0.] xs.append(openmc.data.Combination(funcs, op)) else: raise ValueError(this + " not in library")