mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +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
|
||||
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)))
|
||||
return W12BiW12, ln_B_det
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue