diff --git a/Project.toml b/Project.toml index d761f55..e455722 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/gibbspolar.jl b/src/gibbspolar.jl index 6dac69b..ab135f3 100644 --- a/src/gibbspolar.jl +++ b/src/gibbspolar.jl @@ -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 diff --git a/src/latent.jl b/src/latent.jl index d4b174e..3f2072c 100644 --- a/src/latent.jl +++ b/src/latent.jl @@ -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