Remove print cache

This commit is contained in:
Lafrite 2015-02-21 11:20:42 +01:00
parent da6a43364b
commit c55f127a3c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def power_cache(fun):
"""Decorator which cache calculated powers of polynoms """
cache = {}
def cached_fun(self, power):
print("cache -> ", cache)
#print("cache -> ", cache)
if (tuple(self._coef), power) in cache.keys():
return cache[(tuple(self._coef), power)]
else: