Skip to content

Commit 0fbf7f6

Browse files
committed
fix: adressing review
1 parent f8dc76d commit 0fbf7f6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/algorithms/plot_clique_centrality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# generate hypergraph
1515
n = 20
1616
ps = [0.15, 0.01]
17-
H = xgi.random_hypergraph(n, ps, seed=1)
17+
H = xgi.fast_random_hypergraph(n, ps, seed=1)
1818

1919
# visualize hypergraph and centrality
2020
pos = xgi.barycenter_spring_layout(H, seed=1)

examples/algorithms/plot_largest_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# generate hypergraph
1515
seed = 9
16-
H = xgi.random_hypergraph(20, [0.05, 0.01], seed=seed)
16+
H = xgi.fast_random_hypergraph(20, [0.05, 0.01], seed=seed)
1717

1818
# compute the largest component hypergraph
1919
H_gcc = xgi.largest_connected_hypergraph(H)

examples/algorithms/plot_node_edge_centrality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# generate hypergraph
1515
n = 20
1616
ps = [0.15, 0.01]
17-
H = xgi.random_hypergraph(n, ps, seed=1)
17+
H = xgi.fast_random_hypergraph(n, ps, seed=1)
1818

1919
# visualize hypergraph and centrality
2020
pos = xgi.barycenter_spring_layout(H, seed=1)

0 commit comments

Comments
 (0)