From 3f0587e428284c36b22dba135c5aad92e4ebf8d8 Mon Sep 17 00:00:00 2001 From: monty Date: Sat, 20 May 2017 08:46:34 -0600 Subject: [PATCH] v0.6 changes --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 4120e52..bd4f5e1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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. @@ -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)