Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
43
Issues
43
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
dfd68d0d
Commit
dfd68d0d
authored
Aug 24, 2015
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BlockState.__check_clabel() for filtered graphs
parent
ac0c1325
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/graph_tool/community/blockmodel.py
src/graph_tool/community/blockmodel.py
+4
-4
No files found.
src/graph_tool/community/blockmodel.py
View file @
dfd68d0d
...
...
@@ -316,11 +316,11 @@ class BlockState(object):
return
bclabel
def
__check_clabel
(
self
):
b
=
self
.
b
.
a
+
self
.
clabel
.
a
*
self
.
B
b
=
self
.
b
.
fa
+
self
.
clabel
.
fa
*
self
.
B
b2
=
self
.
b
.
fa
.
copy
()
continuous_map
(
b
)
b2
=
self
.
b
.
copy
()
continuous_map
(
b2
.
a
)
return
(
b
==
b2
.
a
).
all
()
continuous_map
(
b2
)
return
(
b
==
b2
).
all
()
def
__get_emat
(
self
):
if
self
.
emat
is
None
:
...
...
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