Nparam changes to num_params

This commit is contained in:
James Hensman 2013-10-08 14:49:18 +01:00
parent 39eb0368d8
commit a59d980327
10 changed files with 14 additions and 14 deletions

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: