Skip to content

Commit

Permalink
Bugfix in ww3_ounf.ftn: NBIPART check against NOSWLL was not accoutin…
Browse files Browse the repository at this point in the history
…g for zeroth wind partition. See Issue #2.
  • Loading branch information
ukmo-ccbunney committed Mar 28, 2019
1 parent 913dc83 commit 14ba7e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/ftn/ww3_ounf.ftn
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@

! Alternative processing of TABIPART to capture requests
! greater than NOSWLL (C.Bunney):
ALLOCATE(TABIPART(NOSWLL))
ALLOCATE(TABIPART(NOSWLL + 1))
NBIPART=0
DO I=1,30
IF(STRINGIPART(I:I) .EQ. ' ') CYCLE
Expand All @@ -391,7 +391,7 @@
CYCLE
ENDIF
NBIPART = NBIPART + 1
IF(NBIPART .GT. NOSWLL) THEN
IF(NBIPART .GT. NOSWLL + 1) THEN
GOTO 803
ENDIF
TABIPART(NBIPART) = IPART
Expand Down

0 comments on commit 14ba7e0

Please # to comment.