Skip to content

Commit

Permalink
fix override of speciesTable
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Nov 14, 2018
1 parent e891981 commit a13438b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boreal_LBMRDataPrep.R
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ Save <- function(sim) {

override.Boreal_LBMRDataPrep.inputObjects <- function(sim) {
if (grepl("aspen80", P(sim)$runName)) {
speciesTable[LandisCode == "POPU.TRE", Longevity := 80] ## (see LandWeb#67)
sim$speciesTable[LandisCode == "POPU.TRE", Longevity := 80] ## (see LandWeb#67)
}
sim
}

0 comments on commit a13438b

Please sign in to comment.