Skip to content

Commit

Permalink
set isink=1for ieos=6 in case where isink was not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Kateryna Andrych committed Dec 4, 2024
1 parent 9062fb7 commit 245f2d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/eos.f90
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,8 @@ subroutine init_eos(eos_type,ierr)
!--Check that if using ieos=6, then isink is set properly
!
if (isink==0) then
call error('eos','ieos=6, but isink is not set')
ierr = ierr_isink_not_set
return
call error('eos','ieos=6, but isink is not set, setting to 1')
isink = 1
endif

case(8)
Expand Down

0 comments on commit 245f2d2

Please sign in to comment.