Skip to content

Commit

Permalink
Bugfix for compiler fortran-2022.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: cplett <[email protected]>
  • Loading branch information
cplett committed Oct 7, 2022
1 parent 2995824 commit 85db07d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/type/iohandler.f90
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ subroutine pushBack(self, fileHandle)
self%count = self%count + 1
if (self%count > size(self%log)) then
n = size(self%log)
call move_alloc(self%log, tmp)
allocate(tmp(n))
tmp=self%log
deallocate(self%log)
allocate(self%log(n + n/2 + 1))
self%log(1:n) = tmp
deallocate(tmp)
Expand Down

0 comments on commit 85db07d

Please sign in to comment.