Skip to content
Snippets Groups Projects
Commit d80b5293 authored by Marco Ratto's avatar Marco Ratto
Browse files

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

parent ea8d44de
Branches
Tags
2 merge requests!1815WIP Cherry-picks for 4.6,!1690bug fix for parallel execution of slice
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment