From e8866963111e0352d6f10f737fa8d8d75b06b524 Mon Sep 17 00:00:00 2001 From: Simone Carlo Surace Date: Sun, 10 Mar 2024 22:07:50 +0100 Subject: [PATCH] Fix typo --- src/likelihoods/gaussian.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/likelihoods/gaussian.jl b/src/likelihoods/gaussian.jl index 0e7cab6..e8ee51e 100644 --- a/src/likelihoods/gaussian.jl +++ b/src/likelihoods/gaussian.jl @@ -42,7 +42,7 @@ function expected_loglikelihood( end function _gaussian_exp_loglikelihood_kernel(σ², q_f, y) - return -0.5 * (log(2π) + log.(σ²) + ((y - mean(q_f))^ 2 + var(q_f)) / σ²) + return -0.5 * (log(2π) + log(σ²) + ((y - mean(q_f))^2 + var(q_f)) / σ²) end default_expectation_method(::GaussianLikelihood) = AnalyticExpectation()