From b5ebff4ff49daca1f43ee560ea353ebefe7cfb7c Mon Sep 17 00:00:00 2001 From: Marco Ratto Date: Wed, 27 Oct 2010 11:24:23 +0200 Subject: [PATCH] bug fix for parallel execution --- matlab/independent_metropolis_hastings_core.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/independent_metropolis_hastings_core.m b/matlab/independent_metropolis_hastings_core.m index 5b7b1bd58..1feafc0fd 100644 --- a/matlab/independent_metropolis_hastings_core.m +++ b/matlab/independent_metropolis_hastings_core.m @@ -64,7 +64,7 @@ varargin=myinputs.varargin; if whoiam Parallel=myinputs.Parallel; % initialize persistent variables in priordens() - priordens(xparam1,bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7, ... + priordens(xparam1',bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7, ... bayestopt_.p3,bayestopt_.p4,1); end