Skip to content

Commit

Permalink
fix type abstract type of multivariate samplers
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed May 30, 2024
1 parent 3543cde commit 649946e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "SliceSampling"
uuid = "43f4d3e8-9711-4a8c-bd1b-03ac73a255cf"
version = "0.4.0"
version = "0.4.1"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down
2 changes: 1 addition & 1 deletion src/gibbspolar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gibbsian polar slice sampling algorithm by P. Schär, M. Habeck, and D. Rudolf [
- `w::Real`: Initial window size for the radius shrinkage procedure
- `max_proposals::Int`: Maximum number of proposals allowed until throwing an error (default: `typemax(Int)`).
"""
struct GibbsPolarSlice{W <: Real} <: AbstractSliceSampling
struct GibbsPolarSlice{W <: Real} <: AbstractMultivariateSliceSampling
w::W
max_proposals::Int
end
Expand Down
2 changes: 1 addition & 1 deletion src/latent.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Latent slice sampling algorithm by Li and Walker[^LW2023].
# Keyword Arguments
- `max_proposals::Int`: Maximum number of proposals allowed until throwing an error (default: `typemax(Int)`).
"""
struct LatentSlice{B <: Real} <: AbstractSliceSampling
struct LatentSlice{B <: Real} <: AbstractMultivariateSliceSampling
beta ::B
max_proposals::Int
end
Expand Down

2 comments on commit 649946e

@Red-Portal
Copy link
Member Author

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/107930

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.4.1 -m "<description of version>" 649946e78afd038274bf48326e5f5bc64264777e
git push origin v0.4.1

Please sign in to comment.