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

Commit

Permalink
Fixed uninitialized error flag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 20, 2021
1 parent e31cda2 commit a08a341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ module subroutine io_read_in_cb(self, param)
read(iu, *, err = 667, iomsg = errmsg) self%Ip(1), self%Ip(2), self%Ip(3)
read(iu, *, err = 667, iomsg = errmsg) self%rot(1), self%rot(2), self%rot(3)
end if
ierr = 0
else
open(unit = iu, file = param%incbfile, status = 'old', form = 'UNFORMATTED', err = 667, iomsg = errmsg)
ierr = self%read_frame(iu, param)
Expand Down

0 comments on commit a08a341

Please sign in to comment.