Skip to content

Commit

Permalink
Merge branch 'yangx/lnd/outputs_bugfix_maint-1.1' into maint-1.1 (PR #…
Browse files Browse the repository at this point in the history
…3288)

Correction of last commit that used incorrect variable names

This PR fixes problems from a previous PR. Incorrect variable names were used
in that PR (those are from the current master but the slight differences between
current master and maint 1.1 were not noticed). The are corrected in this PR.

[BFB]
  • Loading branch information
jonbob committed Nov 5, 2019
2 parents 2236dba + dfd6faf commit 81f059e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions components/clm/src/biogeochem/CNNitrogenFluxType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2933,13 +2933,13 @@ subroutine Summary(this, bounds, num_soilc, filter_soilc, num_soilp, filter_soil

if (crop_prog) then
this%sen_nloss_litter(p) = &
this%livestemn_to_litter(p) + &
this%leafn_to_litter(p) + &
this%frootn_to_litter(p)
this%livestemn_to_litter_patch(p) + &
this%leafn_to_litter_patch(p) + &
this%frootn_to_litter_patch(p)
else
this%sen_nloss_litter(p) = &
this%leafn_to_litter(p) + &
this%frootn_to_litter(p)
this%leafn_to_litter_patch(p) + &
this%frootn_to_litter_patch(p)
end if

end do
Expand Down
10 changes: 5 additions & 5 deletions components/clm/src/biogeochem/PhosphorusFluxType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2345,13 +2345,13 @@ subroutine Summary(this, bounds, num_soilc, filter_soilc, num_soilp, filter_soil

if (crop_prog) then
this%sen_ploss_litter(p) = &
this%livestemp_to_litter(p) + &
this%leafp_to_litter(p) + &
this%frootp_to_litter(p)
this%livestemp_to_litter_patch(p) + &
this%leafp_to_litter_patch(p) + &
this%frootp_to_litter_patch(p)
else
this%sen_ploss_litter(p) = &
this%leafp_to_litter(p) + &
this%frootp_to_litter(p)
this%leafp_to_litter_patch(p) + &
this%frootp_to_litter_patch(p)
end if

end do
Expand Down

0 comments on commit 81f059e

Please sign in to comment.