Skip to content

Commit

Permalink
PROC_LOC error off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
avaldebe committed Apr 26, 2019
1 parent 4f2acd9 commit 406aae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ColumnSource_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ subroutine setRate()
nloc=0
l = 1
doLOC: do ! read all entries on file, stop simulation if are too many entries
call CheckStop ( l > size(PROC_LOC) , dtxt//' NEEDS larger size for PROC_LOC')
call read_line(IO_TMP,txtline,stat)
if(stat/=0) exit doLOC ! End of file
call CheckStop ( l > size(PROC_LOC) , dtxt//' NEEDS larger size for PROC_LOC')
txtline=ADJUSTL(txtline) ! Remove leading spaces
if(txtline(1:1)=='#')cycle doLOC ! Comment line
dloc=getVent(txtline)
Expand Down

0 comments on commit 406aae4

Please sign in to comment.