From 196da0734103998a379aabd729fd57c0ac01c57b Mon Sep 17 00:00:00 2001 From: Mike Croucher Date: Thu, 10 Sep 2015 10:22:15 +0100 Subject: [PATCH] Cython fix --- GPy/kern/_src/coregionalize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/kern/_src/coregionalize.py b/GPy/kern/_src/coregionalize.py index 9003f2b9..1ce4bff6 100644 --- a/GPy/kern/_src/coregionalize.py +++ b/GPy/kern/_src/coregionalize.py @@ -115,7 +115,7 @@ class Coregionalize(Kern): return dL_dK_small def _gradient_reduce_cython(self, dL_dK, index, index2): - index, index2 = index[:,0], index2[:,0] + index, index2 = np.int64(index[:,0]), np.int64(index2[:,0]) return coregionalize_cython.gradient_reduce(self.B.shape[0], dL_dK, index, index2)