Verified Commit 2134f261 authored by Marco Ratto's avatar Marco Ratto Committed by Sébastien Villemot

for parallel execution we need to initialize also prior_draw (used in slice sampler).

parent 39ed7c67
......@@ -86,6 +86,8 @@ oo_ = myinputs.oo_;
if whoiam
% initialize persistent variables in priordens()
priordens(xparam1,bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7, bayestopt_.p3,bayestopt_.p4,1);
% initialize persistent variables in prior_draw()
prior_draw(bayestopt_,options_.prior_trunc);
end
MetropolisFolder = CheckPath('metropolis',M_.dname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment