Skip to content

Commit 3bed466

Browse files
whannah1jgfouca
authored andcommitted
Fix indexing for tau in gw_front subroutine
1 parent 9e80d4a commit 3bed466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/eam/src/physics/cam/gw/gw_front.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ subroutine gw_front_gw_sources(ncol, ngwv, kbot, frontgf, tau)
171171
do l = 0, ngwv
172172
where (launch_wave)
173173
tau(:,l,kbot) = fav(l)
174-
tau(:,-l,kbot) = fav(l)
174+
tau(:,-l,kbot) = fav(-l)
175175
end where
176176
end do
177177

0 commit comments

Comments
 (0)