Simplify plots: version OK with R6 classes
[talweg.git] / pkg / R / F_Zero.R
index ff6eb52..4f57ba2 100644 (file)
@@ -4,10 +4,10 @@
 #'
 #' Return 0 (and then adjust). Inherits \code{\link{Forecaster}}
 ZeroForecaster = R6::R6Class("ZeroForecaster",
-       inherit = "Forecaster",
+       inherit = Forecaster,
 
        public = list(
-               predictShape = function(today, memory, horizon, ...)
+               predictShape = function(data, today, memory, horizon, ...)
                        rep(0., horizon)
        )
 )