Skip to content
Snippets Groups Projects
Commit a9f59010 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Use equality instead of identity

parent 4e1a5b90
No related branches found
No related tags found
2 merge requests!3Version 0.2,!1Full rewrite
......@@ -6,7 +6,6 @@ Implements the following community detection schemes on epochs:
- K-Clique community detection
"""
__all__ = [
"Community",
"KCliqueCommunity",
......@@ -359,7 +358,7 @@ class HCBFNode(CommunityNode):
dest = packet.destination
if self.community is not dest.community:
if self.community != dest.community:
if self.out_community_neighbours:
cbc = partial(self._community.community_betweenness, dest)
target = _decide(self,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment