Skip to content

Commit afcb884

Browse files
authored
quickfix approx_lml issue (#118)
* fix namespace issue * LogExpFunctions [compat]
1 parent 22f118e commit afcb884

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ApproximateGPs"
22
uuid = "298c2ebc-0411-48ad-af38-99e88101b606"
33
authors = ["JuliaGaussianProcesses Team"]
4-
version = "0.3.3"
4+
version = "0.3.4"
55

66
[deps]
77
AbstractGPs = "99985d1d-32ba-4be9-9821-2ec096f28918"
@@ -31,6 +31,7 @@ FillArrays = "0.12, 0.13"
3131
ForwardDiff = "0.10"
3232
GPLikelihoods = "0.3"
3333
IrrationalConstants = "0.1"
34+
LogExpFunctions = "0.3"
3435
PDMats = "0.11"
3536
Reexport = "1"
3637
SpecialFunctions = "1, 2"

src/SparseVariationalApproximationModule.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ using AbstractGPs:
1919
FiniteGP,
2020
LatentFiniteGP,
2121
ApproxPosteriorGP,
22+
elbo,
2223
posterior,
2324
marginals,
2425
At_A,
@@ -279,7 +280,7 @@ inducing_points(f::ApproxPosteriorGP{<:SparseVariationalApproximation}) = f.appr
279280
function API.approx_lml(
280281
sva::SparseVariationalApproximation, l_fx::Union{FiniteGP,LatentFiniteGP}, ys; kwargs...
281282
)
282-
return elbo(sva, l_fx, ys; kwargs...)
283+
return AbstractGPs.elbo(sva, l_fx, ys; kwargs...)
283284
end
284285

285286
"""

0 commit comments

Comments
 (0)