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

Commit

Permalink
Fixed reading in Ip and rot arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 5, 2021
1 parent 46caf9e commit 68142e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ module subroutine io_read_body_in(self, param)
select type (self)
class is (swiftest_pl)
if (param%lrotation) then
read(iu, iostat=ierr, err=100) self%Ip(:, i)
read(iu, iostat=ierr, err=100) self%rot(:, i)
read(iu, iostat=ierr, err=100) self%Ip(1, i), self%Ip(2, i), self%Ip(3, i)
read(iu, iostat=ierr, err=100) self%rot(1, i), self%rot(2, i), self%rot(3, i)
end if
if (param%ltides) then
read(iu, iostat=ierr, err=100) self%k2(i)
Expand Down

0 comments on commit 68142e2

Please sign in to comment.