diff --git a/GPy/inference/latent_function_inference/laplace.py b/GPy/inference/latent_function_inference/laplace.py index 2f089141..69eda64a 100644 --- a/GPy/inference/latent_function_inference/laplace.py +++ b/GPy/inference/latent_function_inference/laplace.py @@ -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 diff --git a/GPy/models/gp_var_gauss.py b/GPy/models/gp_var_gauss.py index a0862d69..6cce8640 100644 --- a/GPy/models/gp_var_gauss.py +++ b/GPy/models/gp_var_gauss.py @@ -34,4 +34,3 @@ class GPVariationalGaussianApproximation(GP): self.link_parameter(self.alpha) self.link_parameter(self.beta) - diff --git a/setup.py b/setup.py index ef51cd3e..93217fb4 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def ismac(): if ismac(): compile_flags = [ '-O3', ] - link_args = [''] + link_args = [] else: compile_flags = [ '-fopenmp', '-O3', ] link_args = ['-lgomp']