Skip to content

Commit

Permalink
fix runtests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenalfonso committed Feb 19, 2024
1 parent 91dea0f commit e7585bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ using Test

mu, sigma = 10, 2
initparams = Vector{Float64}([mu, sigma])
seed = rand(n_walkers, n_dim) * 1e-4 .+ transpose(initparams)

n_iter, n_walkers = 100, 50
n_dim, a = 2, 0.02

seed = rand(n_walkers, n_dim) * 1e-4 .+ transpose(initparams)
chain_tests = McmcHermes.run_mcmc(log_probability, data, seed, n_iter, n_walkers, n_dim, a=a)

@test typeof(chain_tests) == Array{Float64, 3}
Expand Down

0 comments on commit e7585bd

Please sign in to comment.