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

Fix typo bug in random_graph()

parent 7d08bc42
......@@ -341,7 +341,7 @@ def random_graph(N, deg_sampler, deg_corr=None, directed=True,
if blockmodel is not None:
sampler = lambda i: deg_sampler(blockmodel[i])
sample = deg_sampler
sampler = deg_sampler
sampler = lambda i: deg_sampler()
Supports Markdown
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