Skip to content

Commit 54fdbbf

Browse files
committed
FMA fix associated with enforcement of max allowed ice-shelf surface slope
1 parent 85083ad commit 54fdbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ice_shelf/MOM_ice_shelf_dynamics.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,7 @@ subroutine calc_shelf_driving_stress(CS, ISS, G, US, taudx, taudy, OD)
24472447
endif
24482448

24492449
if (CS%max_surface_slope>0) then
2450-
scale = min(CS%max_surface_slope/sqrt(sx**2+sy**2),1.0)
2450+
scale = min(CS%max_surface_slope/sqrt((sx**2)+(sy**2)),1.0)
24512451
sx = scale*sx; sy = scale*sy
24522452
endif
24532453

0 commit comments

Comments
 (0)