Skip to content

Commit

Permalink
fix(lak): initialize chdratin and chdratout to zero (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
langevin-usgs committed Jan 8, 2020
1 parent b81a177 commit 78a3c13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Model/GroundWaterFlow/gwf3lak8.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3945,6 +3945,8 @@ subroutine lak_bd(this, x, idvfl, icbcfl, ibudfl, icbcun, iprobs, &
iadv=1)
!
! -- calculate several budget terms
chratin = DZERO
chratout = DZERO
do n = 1, this%nlakes
this%chterm(n) = DZERO
if (this%iboundpak(n) == 0) cycle
Expand Down

0 comments on commit 78a3c13

Please sign in to comment.