From fd7683fe31db6791670c6d512a0739445d9397e6 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 6 Sep 2022 22:50:27 -0500 Subject: [PATCH] Correction to str literal 'linear-linear' --- openmc/filter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmc/filter.py b/openmc/filter.py index 9815572a3..8b0c84c7e 100644 --- a/openmc/filter.py +++ b/openmc/filter.py @@ -1992,8 +1992,9 @@ class EnergyFunctionFilter(Filter): 'log-log Tabulated1Ds are supported') out = cls(tab1d.x, tab1d.y) + # set interpolation type if tab1d.interpolation[0] == 2: - out.interpolation = 'linear-lienar' + out.interpolation = 'linear-linear' elif tab1d.interpolation[0] == 3: out.interpolation = 'linear-log' elif tab1d.interpolation[0] == 4: