Skip to content

Commit

Permalink
Merge pull request #12170 from drjfloyd/master
Browse files Browse the repository at this point in the history
FDS Source: fix different debug vs release behavior Issue #12160
  • Loading branch information
drjfloyd authored Oct 4, 2023
2 parents 522ae58 + 87c963e commit 736d40d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/func.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,8 @@ SUBROUTINE GET_WALL_NODE_COORDINATES(N_CELLS,N_CELLS_OLD,N_LAYERS,N_LAYER_CELLS,
ENDDO
IF (N_LAYER_CELLS(NL) > 0) THEN
II = II + 1
X_S(II) = X_S(II-1) + LAYER_THICKNESS(NL) - DX_SUM
DX_S = LAYER_THICKNESS(NL) - DX_SUM
X_S(II) = X_S(II-1) + DX_S
ENDIF
IL = IL + N_LAYER_CELLS_OLD(NL)
ENDDO
Expand Down

0 comments on commit 736d40d

Please sign in to comment.