Merge remote-tracking branch 'gpy_real/devel' into merge_branch

This commit is contained in:
Alan Saul 2013-10-08 16:34:24 +01:00
commit 94b53af158
12 changed files with 30 additions and 22 deletions

View file

@ -126,7 +126,7 @@ class FITC(SparseGP):
self._dpsi1_dX += self.kern.dK_dX(_dpsi1.T,self.Z,self.X[i:i+1,:])
# the partial derivative vector for the likelihood
if self.likelihood.Nparams == 0:
if self.likelihood.num_params == 0:
# save computation here.
self.partial_for_likelihood = None
elif self.likelihood.is_heteroscedastic:

View file

@ -156,7 +156,7 @@ class SparseGP(GPBase):
# the partial derivative vector for the likelihood
if self.likelihood.Nparams == 0:
if self.likelihood.num_params == 0:
# save computation here.
self.partial_for_likelihood = None
elif self.likelihood.is_heteroscedastic: