an assortment of fixes

This commit is contained in:
James Hensman 2013-06-05 14:52:37 +01:00
parent 7040b26f41
commit 56a4bc4e21
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