Skip to content

Commit c54a0f8

Browse files
committed
Parenthesize some expressions
The point of this is to make some minimal changes needed to get bit-for-bit results with an upcoming refactor, in which the elevation factors will be computed separately.
1 parent 760bf6a commit c54a0f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mediator/med_phases_prep_glc_mod.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,8 @@ subroutine med_phases_prep_glc_map_lnd2glc(gcomp, rc)
924924
data_ice_covered_g(n) = dataptr2d(ec-1,n) * 0.5_r8 &
925925
+ dataptr2d(ec ,n) * 0.5_r8
926926
else
927-
data_ice_covered_g(n) = dataptr2d(ec-1,n) * (elev_u - topoglc_g(n)) / d_elev &
928-
+ dataptr2d(ec ,n) * (topoglc_g(n) - elev_l) / d_elev
927+
data_ice_covered_g(n) = dataptr2d(ec-1,n) * ((elev_u - topoglc_g(n)) / d_elev) &
928+
+ dataptr2d(ec ,n) * ((topoglc_g(n) - elev_l) / d_elev)
929929
end if
930930
exit
931931
end if

0 commit comments

Comments
 (0)