Skip to content

Commit

Permalink
switch to is_close for csub brg comparison with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Dec 13, 2023
1 parent e4ad7da commit 2b19bc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Model/GroundWaterFlow/gwf3csub8.f90
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module GwfCsubModule
TABLEFT, TABCENTER, TABRIGHT, &
TABSTRING, TABUCSTRING, TABINTEGER, TABREAL
use MemoryHelperModule, only: create_mem_path
use MathUtilModule, only: is_close
use MessageModule, only: write_message
use SmoothingModule, only: sQuadraticSaturation, &
sQuadraticSaturationDerivative, &
Expand Down Expand Up @@ -2874,7 +2875,7 @@ subroutine csub_fc(this, kiter, hold, hnew, matrix_sln, idxglo, rhs)
rhs(node) = rhs(node) + rhsterm
!
! -- calculate interbed water compressibility terms
if (this%brg /= DZERO .and. idelay == 0) then
if (.not. is_close(this%brg, DZERO) .and. idelay == 0) then
call this%csub_nodelay_wcomp_fc(ib, node, tled, area, &
hnew(node), hold(node), &
hcof, rhsterm)
Expand Down

0 comments on commit 2b19bc5

Please sign in to comment.