Skip to content

Commit

Permalink
v0.6 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed May 20, 2017
1 parent 988e663 commit 3f0587e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Expand Up @@ -27,7 +27,7 @@ numsamples_perwalker = 1000
burnin = 100

@stderrcapture function testemcee()
const stds = exp(5 * randn(numdims))
const stds = exp.(5 * randn(numdims))
const means = 1 + 5 * rand(numdims)
llhood = x->begin
retval = 0.
Expand All @@ -36,7 +36,7 @@ burnin = 100
end
return retval
end

x0 = rand(numdims, numwalkers) * 10 - 5
chain, llhoodvals = AffineInvariantMCMC.sample(llhood, numwalkers, x0, burnin, 1)
chain, llhoodvals = AffineInvariantMCMC.sample(llhood, numwalkers, chain[:, :, end], numsamples_perwalker, thinning)
Expand Down

0 comments on commit 3f0587e

Please sign in to comment.