Skip to content

Commit

Permalink
Use get_do_tillage() in first readParams_netcdf() return check.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Aug 14, 2023
1 parent c5ee474 commit fe568e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/soilbiogeochem/TillageMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ subroutine readParams_netcdf(ncid)
! Initialize tillage multipliers as all 1, and exit if not tilling
allocate(tillage_mults_allphases(ndecomp_pools, ntill_stages_max))
tillage_mults_allphases(:,:) = 1.0_r8
if (tillage_mode == "off") then
if (.not. get_do_tillage()) then
return
end if

Expand Down

0 comments on commit fe568e1

Please sign in to comment.