From ab09fbcd6e63f41ceb465f25606de25c9453628c Mon Sep 17 00:00:00 2001 From: Ben Letham Date: Wed, 16 May 2018 12:42:45 -0700 Subject: [PATCH] Remove vestigial reference to seasonal column --- R/R/prophet.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/R/prophet.R b/R/R/prophet.R index 86aa9b9..92ed985 100644 --- a/R/R/prophet.R +++ b/R/R/prophet.R @@ -1340,7 +1340,7 @@ sample_posterior_predictive <- function(m, df) { s_m = component.cols$multiplicative_terms ) # Store the results - for (key in c("trend", "seasonal", "yhat")) { + for (key in c("trend", "yhat")) { sim.values[[key]][,(i - 1) * samp.per.iter + j] <- sim[[key]] } }