From 73cb20afb04a95f6d4e68e30d6c93ce113d2ff87 Mon Sep 17 00:00:00 2001 From: James Hensman Date: Mon, 10 Mar 2014 11:19:57 +0000 Subject: [PATCH] bugfix --- GPy/kern/_src/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/kern/_src/add.py b/GPy/kern/_src/add.py index a5ca9a59..28250e06 100644 --- a/GPy/kern/_src/add.py +++ b/GPy/kern/_src/add.py @@ -46,7 +46,7 @@ class Add(Kern): [p.update_gradients_full(dL_dK, X[:,i_s], X2[:, i_s]) for p, i_s in zip(self._parameters_, self.input_slices)] def update_gradients_diag(self, dL_dKdiag, X): - [p.update_gradients_diag(dL_dK, X[:,i_s]) for p, i_s in zip(self._parameters_, self.input_slices)] + [p.update_gradients_diag(dL_dKdiag, X[:,i_s]) for p, i_s in zip(self._parameters_, self.input_slices)] def gradients_X(self, dL_dK, X, X2=None): """Compute the gradient of the objective function with respect to X.