Skip to content

Commit

Permalink
Merge pull request #64 from MYSTRANsolver/gpforce_ans_bug
Browse files Browse the repository at this point in the history
fixed segfault caused by closed ANS file
  • Loading branch information
zchlrnr committed Apr 12, 2024
2 parents 3ed68ce + 1c8af40 commit 2275d20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/LK9/L92/GP_FORCE_BALANCE_PROC.f90
Original file line number Diff line number Diff line change
Expand Up @@ -812,10 +812,9 @@ SUBROUTINE GP_FORCE_BALANCE_PROC ( JVEC, IHEADER )
IF (IERR /= 0) THEN
WRITE(ERR,*) 'GPFORCE_FXYZ_MXYZ DEALLOCATE error'
ENDIF
FLUSH(OP2)
ENDIF
FLUSH(OP2)
FLUSH(F06)
FLUSH(ANS)
FLUSH(ERR)

! **********************************************************************************************************************************
Expand Down

0 comments on commit 2275d20

Please sign in to comment.