From a13438b874efb1c177f1495cbb94aa470c929d9b Mon Sep 17 00:00:00 2001 From: Alex Chubaty Date: Wed, 14 Nov 2018 12:12:00 -0700 Subject: [PATCH] fix override of speciesTable with https://github.com/eliotmcintire/LandWeb/issues/97 --- Boreal_LBMRDataPrep.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boreal_LBMRDataPrep.R b/Boreal_LBMRDataPrep.R index 6a82111..5b08437 100644 --- a/Boreal_LBMRDataPrep.R +++ b/Boreal_LBMRDataPrep.R @@ -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 }