Commit a9f59010 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Use equality instead of identity

parent 4e1a5b90
......@@ -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,
......
Supports Markdown
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