diff --git a/Project.toml b/Project.toml index 928327b08..97be50470 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DynamicPPL" uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8" -version = "0.23.8" +version = "0.23.9" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/src/test_utils.jl b/src/test_utils.jl index 17898b9fe..381f58db7 100644 --- a/src/test_utils.jl +++ b/src/test_utils.jl @@ -581,19 +581,6 @@ function varnames(model::Model{typeof(demo_assume_matrix_dot_observe_matrix)}) return [@varname(s), @varname(m)] end -function Random.rand( - rng::Random.AbstractRNG, - ::Type{NamedTuple}, - model::Model{typeof(demo_assume_matrix_dot_observe_matrix)}, -) - n = length(model.args.x) - s = reshape(rand(rng, InverseGamma(2, 3), n), n รท 2, 2) - s_vec = vec(s) - m = rand(rng, MvNormal(zeros(n), Diagonal(s_vec))) - - return (s=s, m=m) -end - const DemoModels = Union{ Model{typeof(demo_dot_assume_dot_observe)}, Model{typeof(demo_assume_index_observe)},