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

Fix typo bug in random_graph()

parent b2e10d10
...@@ -347,7 +347,7 @@ def random_graph(N, deg_sampler, deg_corr=None, directed=True, ...@@ -347,7 +347,7 @@ def random_graph(N, deg_sampler, deg_corr=None, directed=True,
for i in xrange(N): for i in xrange(N):
bm.append(blockmodel(i)) bm.append(blockmodel(i))
blockmodel = bm blockmodel = bm
else: elif blockmodel is not None:
btype = _gt_type(blockmodel[0]) btype = _gt_type(blockmodel[0])
if len(inspect.getargspec(deg_sampler)[0]) > 0: if len(inspect.getargspec(deg_sampler)[0]) > 0:
......
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