Merge branch 'devel' of github.com:SheffieldML/GPy into devel

This commit is contained in:
Ricardo 2013-06-05 15:13:42 +01:00
commit f60c8ab899
5 changed files with 13 additions and 19 deletions

View file

@ -54,7 +54,7 @@ class Gaussian(likelihood):
x = np.float64(x)
if np.all(self._variance != x):
if x == 0.:
self.precision = None
self.precision = np.inf
self.V = None
else:
self.precision = 1. / x