Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace committed Mar 10, 2024
1 parent 573b915 commit e886696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/likelihoods/gaussian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e886696

Please sign in to comment.