Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Commit

Permalink
a further fix on the laican indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoven committed Mar 20, 2018
1 parent 436ef98 commit a181d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biogeophys/FatesPlantRespPhotosynthMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ subroutine FatesPlantRespPhotosynthDrive (nsites, sites,bc_in,bc_out,dtime)
if(cl==1)then !are we in the top canopy layer or a shaded layer?
laican = 0._r8
else
laican = sum(currentPatch%canopy_layer_lai(cl+1:NCL_p))
laican = sum(currentPatch%canopy_layer_lai(1:cl-1))
end if

! Loop over leaf-layers
Expand Down

0 comments on commit a181d48

Please sign in to comment.