Explorar o código

Remove vestigial reference to seasonal column

Ben Letham %!s(int64=7) %!d(string=hai) anos
pai
achega
ab09fbcd6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      R/R/prophet.R

+ 1 - 1
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]]
       }
     }