Преглед изворни кода

Remove vestigial reference to seasonal column

Ben Letham пре 7 година
родитељ
комит
ab09fbcd6e
1 измењених фајлова са 1 додато и 1 уклоњено
  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
         s_m = component.cols$multiplicative_terms
       )
       )
       # Store the results
       # 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]]
         sim.values[[key]][,(i - 1) * samp.per.iter + j] <- sim[[key]]
       }
       }
     }
     }