Skip to content

Commit

Permalink
Fix hfitted.ets generic consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Jan 8, 2024
1 parent 5a3c610 commit 7f2e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ets.R
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ fitted.ets <- function(object, h=1, ...) {
}

#' @export
hfitted.ets <- function(object, h=1, all_fits = FALSE, ...) {
hfitted.ets <- function(object, h=1, ...) {
n <- length(object$x)
out <- rep(NA_real_, n)
for(i in seq_len(n-h+1)) {
Expand Down

0 comments on commit 7f2e837

Please sign in to comment.