Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
e676dfc3
Commit
e676dfc3
authored
Nov 27, 2011
by
Tiago Peixoto
Browse files
Fix typo bug in random_graph()
parent
b2e10d10
Changes
1
Show whitespace changes
Inline
Side-by-side
src/graph_tool/generation/__init__.py
View file @
e676dfc3
...
...
@@ -347,7 +347,7 @@ def random_graph(N, deg_sampler, deg_corr=None, directed=True,
for
i
in
xrange
(
N
):
bm
.
append
(
blockmodel
(
i
))
blockmodel
=
bm
el
s
e
:
el
if
blockmodel
is
not
Non
e
:
btype
=
_gt_type
(
blockmodel
[
0
])
if
len
(
inspect
.
getargspec
(
deg_sampler
)[
0
])
>
0
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment