From c55f127a3ce83929e3f3dd6fd6cd334c42097aa3 Mon Sep 17 00:00:00 2001 From: Lafrite Date: Sat, 21 Feb 2015 11:20:42 +0100 Subject: [PATCH] Remove print cache --- pymath/polynom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymath/polynom.py b/pymath/polynom.py index 593e3ce..0c1bc1b 100644 --- a/pymath/polynom.py +++ b/pymath/polynom.py @@ -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: