jacobian bugfix

This commit is contained in:
James Hensman 2015-05-28 22:22:51 +01:00
parent 01b501e078
commit 21ee8cd80a

View file

@ -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])