Skip to content

Commit 2299587

Browse files
author
Maoyi Huang
authored
Merge pull request #5 from rgknox/SF_fuels_refactor
Fixed indexing on the maximum decomposition rate
2 parents 9e13025 + 69d6277 commit 2299587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

biogeochem/EDPhysiologyMod.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,9 +1409,9 @@ subroutine cwd_out( currentSite, currentPatch, bc_in )
14091409

14101410
do c = 1,ncwd
14111411
currentPatch%cwd_ag_out(c) = max(0.0_r8, currentPatch%cwd_ag(c) * &
1412-
SF_val_max_decomp(c+1) * currentPatch%fragmentation_scaler )
1412+
SF_val_max_decomp(c) * currentPatch%fragmentation_scaler )
14131413
currentPatch%cwd_bg_out(c) = max(0.0_r8, currentPatch%cwd_bg(c) * &
1414-
SF_val_max_decomp(c+1) * currentPatch%fragmentation_scaler )
1414+
SF_val_max_decomp(c) * currentPatch%fragmentation_scaler )
14151415
enddo
14161416

14171417
! this is the rate at which dropped leaves stop being part of the burnable pool and begin to be part of the

0 commit comments

Comments
 (0)