Removed annoying print

This commit is contained in:
Alan Saul 2015-09-08 18:07:57 +01:00
parent 92b880bf4b
commit 88855d3c94

View file

@ -171,7 +171,6 @@ class Laplace(LatentFunctionInference):
#define the objective function (to be maximised)
def obj(Ki_f, f):
ll = -0.5*np.sum(np.dot(Ki_f.T, f)) + np.sum(likelihood.logpdf(f, Y, Y_metadata=Y_metadata))
print(ll)
if np.isnan(ll):
import ipdb; ipdb.set_trace() # XXX BREAKPOINT
return -np.inf