From 024b92996e5b92dbe1ad69a55a0cc2546e224f27 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Fri, 28 Feb 2014 17:18:34 +0000 Subject: [PATCH] caching switched on --- GPy/util/caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/util/caching.py b/GPy/util/caching.py index a2434c80..250efe11 100644 --- a/GPy/util/caching.py +++ b/GPy/util/caching.py @@ -40,7 +40,7 @@ class Cacher(object): return self.operation(*args) # TODO: WARNING !!! Cache OFFSWITCH !!! WARNING - return self.operation(*args) + # return self.operation(*args) #if the result is cached, return the cached computation state = [all(a is b for a, b in itertools.izip_longest(args, cached_i)) for cached_i in self.cached_inputs]