almost finished debug
[talweg.git] / pkg / R / F_Average.R
index a48952b..5058825 100644 (file)
@@ -17,7 +17,7 @@ AverageForecaster = R6::R6Class("AverageForecaster",
                        repeat
                        {
                                {
-                                       serie_on_horizon = data$getCenteredSerie(index)[1:horizon]
+                                       serie_on_horizon = private$.data$getCenteredSerie(index)[1:horizon]
                                        index = index - 7
                                };
                                if (!any(is.na(serie_on_horizon)))