Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Removed duplicate read of rhill in the swiftest_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 6, 2021
1 parent 730753e commit 823a3ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 823a3ed

Please sign in to comment.