Skip to content

Commit

Permalink
fix: better pass arguments to the new bipartite_ functions
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Dec 13, 2024
1 parent de0c363 commit 8a1e70b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/games.R
Original file line number Diff line number Diff line change
Expand Up @@ -1755,14 +1755,14 @@ bipartite <- function(...) {
"bipartite()",
"bipartite_gnp()"
)
bipartite_gnp(n1, n2, p, directed = directed, mode = mode)
bipartite_gnp(...)
} else if (type == "gnm") {
lifecycle::deprecate_soft(
"2.1.3",
"bipartite()",
"bipartite_gnm()"
)
bipartite_gnm(n1, n2, m, directed = directed, mode = mode)
bipartite_gnm(...)
}

}
Expand Down

0 comments on commit 8a1e70b

Please sign in to comment.