Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Dec 5, 2024
1 parent 8afe681 commit 25b19a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ function VarInfo(
end
VarInfo(model::Model, args...) = VarInfo(Random.default_rng(), model, args...)


"""
vector_length(varinfo::VarInfo)
Expand Down Expand Up @@ -692,7 +691,6 @@ function vector_getranges(varinfo::TypedVarInfo, vns::Vector{<:VarName})
return ranges
end


"""
getdist(vi::VarInfo, vn::VarName)
Expand Down
2 changes: 1 addition & 1 deletion test/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
# NOTE: It is not yet clear if this is something we want from all varinfo types.
# Hence, we only test the `VarInfo` types here.
@testset "vector_getranges for `VarInfo`" begin
@testset "$(model.f)" for model in DynamicPPL.TestUtils.DEMO_MODELS
@testset "$(model.f)" for model in DynamicPPL.TestUtils.DEMO_MODELS
vns = DynamicPPL.TestUtils.varnames(model)
nt = DynamicPPL.TestUtils.rand_prior_true(model)
varinfos = DynamicPPL.TestUtils.setup_varinfos(model, nt, vns)
Expand Down

0 comments on commit 25b19a4

Please sign in to comment.