Skip to content

Commit

Permalink
Shorten lines so can compile with nag
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Apr 11, 2018
1 parent c5de44e commit 892f5d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions biogeochem/EDCanopyStructureMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,10 @@ subroutine DemoteFromLayer(currentSite,currentPatch,i_lyr)
currentCohort%n = 0.0_r8
currentCohort%c_area = 0._r8
else
call carea_allom(currentCohort%dbh,currentCohort%n,currentSite%spread,currentCohort%pft,currentCohort%c_area)
call carea_allom(currentCohort%dbh,currentCohort%n,currentSite%spread,currentCohort%pft, &
currentCohort%c_area)
endif

call carea_allom(copyc%dbh,copyc%n,currentSite%spread,copyc%pft,copyc%c_area)


Expand Down Expand Up @@ -522,7 +523,8 @@ subroutine DemoteFromLayer(currentSite,currentPatch,i_lyr)
currentCohort%c_area = 0._r8

else
call carea_allom(currentCohort%dbh,currentCohort%n,currentSite%spread,currentCohort%pft,currentCohort%c_area)
call carea_allom(currentCohort%dbh,currentCohort%n,currentSite%spread, &
currentCohort%pft,currentCohort%c_area)
endif

endif ! matches: if (cc_loss < currentCohort%c_area)then
Expand Down

0 comments on commit 892f5d4

Please sign in to comment.