python-networkx/python-networkx-arg-order.patch

12 lines
479 B
Diff

--- networkx/generators/community.py.orig 2019-10-16 20:03:56.000000000 -0600
+++ networkx/generators/community.py 2020-03-09 13:58:38.932627094 -0600
@@ -388,7 +388,7 @@ def gaussian_random_partition_graph(n, s
break
assigned += size
sizes.append(size)
- return random_partition_graph(sizes, p_in, p_out, directed, seed)
+ return random_partition_graph(sizes, p_in, p_out, seed, directed)
def ring_of_cliques(num_cliques, clique_size):