From c84372127f8165a3b8c28682d6ec060864d42055 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Thu, 13 Feb 2014 16:49:17 +0000 Subject: [PATCH] checkgrad was changing parameters --- GPy/core/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPy/core/model.py b/GPy/core/model.py index f2632c93..2e2e63ed 100644 --- a/GPy/core/model.py +++ b/GPy/core/model.py @@ -470,6 +470,7 @@ class Model(Parameterized): ng = '%.6f' % float(numerical_gradient) grad_string = "{0:<{c0}}|{1:^{c1}}|{2:^{c2}}|{3:^{c3}}|{4:^{c4}}".format(formatted_name, r, d, g, ng, c0=cols[0] + 9, c1=cols[1], c2=cols[2], c3=cols[3], c4=cols[4]) print grad_string + self._set_params_transformed(x) return ret def input_sensitivity(self):