mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
jacobian bugfix
This commit is contained in:
parent
01b501e078
commit
21ee8cd80a
1 changed files with 1 additions and 0 deletions
|
|
@ -440,6 +440,7 @@ class Indexable(Nameable, Updateable):
|
|||
log_j = 0.
|
||||
priored_indexes = np.hstack([i for p, i in self.priors.items()])
|
||||
for c,j in self.constraints.items():
|
||||
if c is 'fixed':continue
|
||||
for jj in j:
|
||||
if jj in priored_indexes:
|
||||
log_j += c.log_jacobian(x[jj])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue