mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
Fixed integer division for Python 3 compat
This commit is contained in:
parent
8c552c2509
commit
79f4b26f4d
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ def tdot_blas(mat, out=None):
|
||||||
A = mat.ctypes.data_as(ctypes.c_void_p)
|
A = mat.ctypes.data_as(ctypes.c_void_p)
|
||||||
BETA = c_double(0.0)
|
BETA = c_double(0.0)
|
||||||
C = out.ctypes.data_as(ctypes.c_void_p)
|
C = out.ctypes.data_as(ctypes.c_void_p)
|
||||||
LDC = c_int(np.max(out.strides) / 8)
|
LDC = c_int(np.max(out.strides) // 8)
|
||||||
dsyrk(byref(UPLO), byref(TRANS), byref(N), byref(K),
|
dsyrk(byref(UPLO), byref(TRANS), byref(N), byref(K),
|
||||||
byref(ALPHA), A, byref(LDA), byref(BETA), C, byref(LDC))
|
byref(ALPHA), A, byref(LDA), byref(BETA), C, byref(LDC))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue