Skip to content

Commit a48b53d

Browse files
authored
Fix nlev assignment for W variable in ic_baroclinic.F90
1 parent 80956b2 commit a48b53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynamics/tests/initial_conditions/ic_baroclinic.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ subroutine bc_wav_set_ic(vcoord,latvals, lonvals, zint, U, V, W, T, PS, PHIS, &
223223
if (l3d_vars) then
224224
if (lu) nlev = size(U, 2)
225225
if (lv) nlev = size(V, 2)
226-
if (lv) nlev = size(W, 2)
226+
if (lw) nlev = size(W, 2)
227227
if (lt) nlev = size(T, 2)
228228

229229
if (lq) then

0 commit comments

Comments
 (0)