Commit 22345394 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix typo bug in random_graph() when parallel_edges and self_loops equals True

parent 231ec1a2
......@@ -367,7 +367,7 @@ def random_graph(N, deg_sampler, deg_corr=None, directed=True,
else:
bm = None
if parallel_edges and self_loops and strat != "probabilistic":
if parallel_edges and self_loops and deg_corr is None:
mix_time = 1
if random:
if deg_corr is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment