From 823a3ed6154fee701c412af8a73f0c9e98cba557 Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 6 Aug 2021 11:54:32 -0400 Subject: [PATCH] Removed duplicate read of rhill in the swiftest_stream --- python/swiftest/swiftest/io.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/swiftest/swiftest/io.py b/python/swiftest/swiftest/io.py index 491376739..db00655e3 100644 --- a/python/swiftest/swiftest/io.py +++ b/python/swiftest/swiftest/io.py @@ -494,10 +494,9 @@ def swiftest_stream(f, param): p5 = f.read_reals(np.float64) p6 = f.read_reals(np.float64) Mpl = f.read_reals(np.float64) - Rhill = f.read_reals(np.float64) - Rpl = f.read_reals(np.float64) if param['RHILL_PRESENT'] == 'YES': Rhill = f.read_reals(np.float64) + Rpl = f.read_reals(np.float64) if param['ROTATION'] == 'YES': Ipplx = f.read_reals(np.float64) Ipply = f.read_reals(np.float64)