Skip to content

Commit fed794b

Browse files
committed
set IFDEFs correctly to allow W3_IC4 build without numerics fix
1 parent 1c11fc1 commit fed794b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/src/w3srcemd.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,7 +2088,7 @@ SUBROUTINE W3SRCE ( srce_call, IT, ISEA, JSEA, IX, IY, IMOD, &
20882088
#ifdef W3_IC3
20892089
CALL W3SIC3 ( SPEC,DEPTH, CG1, WN1, IX, IY, VSIC, VDIC )
20902090
#endif
2091-
#ifndef W3_IC4_NUMERICS
2091+
#if defined(W3_IC4) && !defined(W3_IC4_NUMERICS)
20922092
CALL W3SIC4 ( SPEC,DEPTH, CG1, IX, IY, VSIC, VDIC )
20932093
#endif
20942094
#ifdef W3_IC5
@@ -2119,7 +2119,7 @@ SUBROUTINE W3SRCE ( srce_call, IT, ISEA, JSEA, IX, IY, IMOD, &
21192119
#ifdef W3_IC3
21202120
ATT=EXP(ICE*VDIC(IS)*DTG)
21212121
#endif
2122-
#ifndef W3_IC4_NUMERICS
2122+
#if defined(W3_IC4) && !defined(W3_IC4_NUMERICS)
21232123
ATT=EXP(ICE*VDIC(IS)*DTG)
21242124
#endif
21252125
#ifdef W3_IC5

0 commit comments

Comments
 (0)