From d8785b534e9a0c2b5aa3b76f9b717e277e18135b Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 1 Feb 2013 10:33:00 +0000 Subject: [PATCH] Fixed bug in the product of kernels --- GPy/kern/kern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/kern/kern.py b/GPy/kern/kern.py index 0433d1f4..89def0e5 100644 --- a/GPy/kern/kern.py +++ b/GPy/kern/kern.py @@ -155,7 +155,7 @@ class kern(parameterised): D = K1.D + K2.D - newkernparts = [product_orthogonal(k1,k2).parts[0] for k1, k2 in itertools.product(K1.parts,K2.parts)] + newkernparts = [product_orthogonal(k1,k2) for k1, k2 in itertools.product(K1.parts,K2.parts)] slices = [] for sl1, sl2 in itertools.product(K1.input_slices,K2.input_slices):