Skip to content

Commit 30b58f2

Browse files
Update tests
1 parent 06f9e33 commit 30b58f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dynamichmc_inference.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ function dynamichmc_inference(problem::DiffEqBase.DEProblem, algorithm, t, data,
103103
= TransformedLogDensity(trans, P)
104104
∇ℓ = LogDensityProblems.ADgradient(AD_gradient_kind, ℓ)
105105
results = mcmc_with_warmup(rng, ∇ℓ, num_samples; mcmc_kwargs...)
106-
merge((posterior = transform.(Ref(trans), results.chain), ), results)
106+
merge((posterior = TransformVariables.transform.(Ref(trans), results.chain), ), results)
107107
end

test/stan_string.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using CmdStan, Distributions, DiffEqBayes
1+
using Distributions, DiffEqBayes
22

33
println("Starting the test")
44
@test stan_string(Bernoulli(1)) == "bernoulli(1.0)"

0 commit comments

Comments
 (0)