From c7d517519cc75f560a88643bbc2e19f9ccc703ba Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Mon, 18 Nov 2024 16:33:30 +0000 Subject: [PATCH] bump version --- Project.toml | 2 +- test/ext/mcmchains.jl | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index f9783e7da..6ef056daf 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "JuliaBUGS" uuid = "ba9fb4c0-828e-4473-b6a1-cd2560fee5bf" -version = "0.7.0" +version = "0.7.1" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/test/ext/mcmchains.jl b/test/ext/mcmchains.jl index cac8c675e..0b86efdad 100644 --- a/test/ext/mcmchains.jl +++ b/test/ext/mcmchains.jl @@ -97,7 +97,7 @@ A[1, 1:3] ~ Dirichlet(ones(3)) A[2, 1:3] ~ Dirichlet(ones(3)) A[3, 1:3] ~ Dirichlet(ones(3)) - + mu[1:3] ~ MvNormal(zeros(3), 10 * Diagonal(ones(3))) sigma[1] ~ InverseGamma(2, 3) sigma[2] ~ InverseGamma(2, 3) @@ -105,12 +105,7 @@ end model = compile(model_def, (;)) ad_model = ADgradient(:ReverseDiff, model; compile=Val(true)) - hmc_chain = AbstractMCMC.sample( - ad_model, - NUTS(0.8), - 10; - chain_type=Chains, - ) + hmc_chain = AbstractMCMC.sample(ad_model, NUTS(0.8), 10; chain_type=Chains) @test hmc_chain.name_map[:parameters] == [ Symbol("sigma[3]"), Symbol("sigma[2]"),