Skip to content

Commit

Permalink
fix: apply igraph's stricter argument naming policy (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle authored Dec 4, 2024
1 parent 2e6c1ae commit b730a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/policy_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ policy_graph <-

if (remove_unreachable_nodes)
policy_graph <- igraph::delete_vertices(policy_graph, setdiff(seq_along(V(policy_graph)),
igraph::dfs(policy_graph, root = initial_pg_node, unreach = FALSE)$order))
igraph::dfs(policy_graph, root = initial_pg_node, unreachable = FALSE)$order))

policy_graph
}
Expand Down

0 comments on commit b730a8c

Please sign in to comment.