Skip to content

Commit

Permalink
fixed old usage of rand
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Oct 24, 2023
1 parent e987cd9 commit ad5f2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
@testset "$(model.f)" for model in DynamicPPL.TestUtils.DEMO_MODELS
vns = DynamicPPL.TestUtils.varnames(model)
varinfos = DynamicPPL.TestUtils.setup_varinfos(
model, rand(model), vns; include_threadsafe=true
model, DynamicPPL.TestUtils.rand_prior_true(model), vns; include_threadsafe=true
)
@testset "$(short_varinfo_name(varinfo))" for varinfo in varinfos
@testset "with itself" begin
Expand Down

0 comments on commit ad5f2b8

Please sign in to comment.