Skip to content

Commit

Permalink
Remove duplicated init of the drought deciduous local variables
Browse files Browse the repository at this point in the history
I forgot to delete the assignment of the local variables when I moved it to the beginning of the `do` loop (thanks @glemieux).
  • Loading branch information
mpaiao authored Jul 7, 2023
1 parent 7c8a53c commit f7776b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main/EDInitMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -917,11 +917,6 @@ subroutine init_cohorts( site_in, patch_in, bc_in)
temp_cohort%n = temp_cohort%n * sum(site_in%use_this_pft)
endif

! Retrieve drop fraction of non-leaf tissues for phenology initialisation
fnrt_drop_fraction = prt_params%phen_fnrt_drop_fraction(temp_cohort%pft)
stem_drop_fraction = prt_params%phen_stem_drop_fraction(temp_cohort%pft)



! h,dbh,leafc,n from SP values or from small initial size.
if(hlm_use_sp.eq.itrue)then
Expand Down

0 comments on commit f7776b2

Please sign in to comment.