Skip to content

Commit

Permalink
Macros return to initial directory upon error
Browse files Browse the repository at this point in the history
  • Loading branch information
rneder committed Jan 16, 2025
1 parent a94edf9 commit 351bcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discus/prog/discus_3dpdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ subroutine three_main !(infile)
RETURN
ELSE
IF(lmacro_close) then
CALL macro_close
CALL macro_close(-1)
prompt_status = PROMPT_ON
ENDIF
ENDIF
Expand Down Expand Up @@ -772,7 +772,7 @@ subroutine three_inter
! Attempt to match vectors by rotation / displacement of rigid units
!
call three_inter_rigid(sigma_length, success)
!!if(.not. success) then
if(.not. success) then
call three_inter_rigid_shift(sigma_length, success)
endif
!
Expand Down

0 comments on commit 351bcd5

Please sign in to comment.