diff --git a/R/interface.R b/R/interface.R index 2fb5b7d3825..29c011197ca 100644 --- a/R/interface.R +++ b/R/interface.R @@ -481,7 +481,7 @@ get.edge.ids <- function(graph, vp, directed = TRUE, error = FALSE, multi = FALS #' gorder(g) #' vcount(g) vcount <- function(graph) { - as.numeric(vcount_impl(graph)) + as.integer(vcount_impl(graph)) } #' @export