mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 13:02:38 +02:00
changed the behaviour of pdinv: now returns L and Li as well as the inverse
This commit is contained in:
parent
574f9f4e0a
commit
c72d1b1a5b
5 changed files with 21 additions and 25 deletions
|
|
@ -19,7 +19,7 @@ class finite_dimensional(kernpart):
|
|||
self.D = D
|
||||
self.F = F
|
||||
self.G = G
|
||||
self.G_1 ,tmp = pdinv(G)
|
||||
self.G_1 ,L,Li,logdet = pdinv(G)
|
||||
self.n = F.shape[0]
|
||||
if weights is not None:
|
||||
assert weights.shape==(self.n,)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue