Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDS Source: fix different debug vs release behavior Issue #12160 #12170

Merged
merged 9 commits into from
Oct 4, 2023
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