mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 19:12:40 +02:00
Cython fix
This commit is contained in:
parent
6a5c2ea164
commit
196da07341
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class Coregionalize(Kern):
|
||||||
return dL_dK_small
|
return dL_dK_small
|
||||||
|
|
||||||
def _gradient_reduce_cython(self, dL_dK, index, index2):
|
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)
|
return coregionalize_cython.gradient_reduce(self.B.shape[0], dL_dK, index, index2)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue