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

Remove forgotten cache_clear

parent 75f65eac
No related branches found
No related tags found
1 merge request!3Version 0.2
......@@ -34,7 +34,6 @@ class EpochCommunity(TickProcess):
def next_epoch(self, now):
self.community = {}
edges_to_keep = []
self.cache_clear()
for a, b, start in self.graph.edges(data='start'):
if start > -1:
......@@ -53,14 +52,6 @@ class EpochCommunity(TickProcess):
self.community[node] = frozenset([node])
return self.community[node]
def cache_clear(self):
self.get_ld.cache_clear()
self.get_lp.cache_clear()
self.get_ui.cache_clear()
self.get_gp.cache_clear()
self.get_ncf.cache_clear()
self.get_cbc.cache_clear()
def get_ld(self, x):
''''''
g = self.old_graph
......
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