Skip to content

Commit

Permalink
update: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna authored Apr 27, 2024
1 parent f614bd0 commit 0aa8101
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ G_1 = nx.karate_club_graph()

G_2 = nxadb.Graph(G_1)

assert nx.betweenness_centrality(G_1) == nx.betweenness_centrality(G_2)
bc_1 = nx.betweenness_centrality(G_1)
bc_2 = nx.betweenness_centrality(G_2) # Goes through dispatching

```
assert bc_1 == bc_2

```

0 comments on commit 0aa8101

Please sign in to comment.