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
34ee3d5a
Commit
34ee3d5a
authored
Jun 30, 2016
by
Tiago Peixoto
Browse files
Fix NestedBlockState.project_level()
parent
82e496e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/nested_blockmodel.py
View file @
34ee3d5a
...
...
@@ -336,7 +336,7 @@ class NestedBlockState(object):
"""Project the partition at level ``l`` onto the lowest level, and return the
corresponding state."""
b
=
self
.
project_partition
(
l
,
0
)
return
self
.
levels
[
0
].
copy
(
b
)
return
self
.
levels
[
0
].
copy
(
b
=
b
)
def
print_summary
(
self
):
"""Print a hierarchy summary."""
...
...
Write
Preview
Markdown
is supported
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