Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Aug 17, 2024
1 parent 28b0ed3 commit 3546b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/concat.r
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ c2 <- function(x, y) {
}


x$vector_list <- c(x$vector_list, list(y))
x$vector_list[[length(x$vector_list) + 1]] <- list(y)
x$idx <- c(x$idx, length(x))
x$last_size <- length(y)

return(x)
}


#' @method as.vector chunked_array
as.vector.chunked_array <- function(x, mode = "any") {
do.call('c', x$vector_list)
Expand Down

0 comments on commit 3546b02

Please sign in to comment.