mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-29 15:59:41 +02:00
Fixed the dpotrs use..
This commit is contained in:
parent
f80b616d10
commit
bd062329a8
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ class Laplace(likelihood):
|
||||||
B = np.eye(self.N) + W_12*K*W_12.T
|
B = np.eye(self.N) + W_12*K*W_12.T
|
||||||
L = jitchol(B)
|
L = jitchol(B)
|
||||||
|
|
||||||
W12BiW12, _ = W_12*dpotrs(L, np.asfortranarray(W_12*a), lower=1)
|
W12BiW12 = W_12*dpotrs(L, np.asfortranarray(W_12*a), lower=1)[0]
|
||||||
ln_B_det = 2*np.sum(np.log(np.diag(L)))
|
ln_B_det = 2*np.sum(np.log(np.diag(L)))
|
||||||
return W12BiW12, ln_B_det
|
return W12BiW12, ln_B_det
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue