diff --git a/pydyton/communities.py b/pydyton/communities.py index 7e49ab04dbb14fbb76a517e6b5b64b07270c38ce..da9c2b81657307edbe1958bcf7f8c27d6c217724 100644 --- a/pydyton/communities.py +++ b/pydyton/communities.py @@ -79,8 +79,8 @@ class EpochCommunity: if node not in self.old_graph: return 0 - edges = elf.old_graph[node] - community = seld[node] + edges = self.old_graph[node] + community = self[node] return sum([ edge['duration'] for other, edge in edges.items()