fix bugs
[talweg.git] / pkg / R / J_Zero.R
index 16b6ed5..01ba9e3 100644 (file)
@@ -8,7 +8,7 @@
 #'
 #' @aliases J_Zero
 #'
-getZeroJumpPredict = function(data, today, memory, horizon, params, ...)
+getZeroJumpPredict = function(data, today, memory, predict_from, horizon, params, ...)
 {
        list(...)$first_pred - ifelse( predict_from >= 2,
                data$getSerie(today)[predict_from-1], tail(data$getSerie(today-1),1) )