on the way back without realtime
[talweg.git] / pkg / R / F_Zero.R
index fdfee83..ac970c4 100644 (file)
@@ -1,13 +1,12 @@
-#' @include Forecaster.R
-#'
 #' Zero Forecaster
 #'
 #' Return 0 (and then adjust). Inherits \code{\link{Forecaster}}
+#'
 ZeroForecaster = R6::R6Class("ZeroForecaster",
        inherit = Forecaster,
 
        public = list(
-               predictShape = function(today, memory, horizon, ...)
-                       rep(0., horizon)
+               predictShape = function(data, today, memory, horizon, ...)
+                       rep(0, horizon)
        )
 )