Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Feb 12, 2024
1 parent 7c9ae3e commit b4f8bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/operators.R
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ path <- function(...) {
e2 <- c(list(name = nn), e2[rlang::have_name(e2)])
}
# When adding vertices via +, all unnamed arguments are interpreted as vertex names of the new vertices.
vertices_number <- length(unnamed_elements_indices)
vertices_number <- length(e2[["name"]])
res <- add_vertices(e1, nv = vertices_number, attr = e2)
} else if ("igraph.path" %in% class(e2)) {
## Adding edges along a path, possibly with attributes
Expand Down

0 comments on commit b4f8bb9

Please sign in to comment.