Skip to content

Commit

Permalink
CompatHelper: bump compat for "GPLikelihoods" to "0.3" (#107)
Browse files Browse the repository at this point in the history
* CompatHelper: bump compat for "GPLikelihoods" to "0.3"

* Reorder Gamma parametrization

* Update project versions

* Missing one

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Théo Galy-Fajou <[email protected]>
  • Loading branch information
github-actions[bot] and theogf authored Feb 1, 2022
1 parent 074db1b commit bae0a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ApproximateGPs"
uuid = "298c2ebc-0411-48ad-af38-99e88101b606"
authors = ["JuliaGaussianProcesses Team"]
version = "0.2.7"
version = "0.2.8"

[deps]
AbstractGPs = "99985d1d-32ba-4be9-9821-2ec096f28918"
Expand All @@ -26,7 +26,7 @@ Distributions = "0.25"
FastGaussQuadrature = "0.4"
FillArrays = "0.12"
ForwardDiff = "0.10"
GPLikelihoods = "0.1, 0.2"
GPLikelihoods = "0.3"
IrrationalConstants = "0.1"
PDMats = "0.11"
Reexport = "1"
Expand Down
4 changes: 2 additions & 2 deletions src/expected_loglik.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function expected_loglik(
::Analytic,
y::AbstractVector{<:Real},
q_f::AbstractVector{<:Normal},
lik::GammaLikelihood{<:Any,ExpLink},
lik::GammaLikelihood{ExpLink},
)
f_μ = mean.(q_f)
return sum(
Expand All @@ -160,4 +160,4 @@ function expected_loglik(
)
end

_default_quadrature(::GammaLikelihood{<:Any,ExpLink}) = Analytic()
_default_quadrature(::GammaLikelihood{ExpLink}) = Analytic()

2 comments on commit bae0a1e

@theogf
Copy link
Member

@theogf theogf commented on bae0a1e Feb 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53605

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.8 -m "<description of version>" bae0a1ebe1865a9eba572ea86a7adbc75cd79387
git push origin v0.2.8

Please sign in to comment.