Skip to content
Snippets Groups Projects
Verified Commit 2134f261 authored by Marco Ratto's avatar Marco Ratto Committed by Sébastien Villemot
Browse files

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

parent 39ed7c67
No related branches found
No related tags found
No related merge requests found
Pipeline #2768 passed
...@@ -86,6 +86,8 @@ oo_ = myinputs.oo_; ...@@ -86,6 +86,8 @@ oo_ = myinputs.oo_;
if whoiam if whoiam
% initialize persistent variables in priordens() % initialize persistent variables in priordens()
priordens(xparam1,bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7, bayestopt_.p3,bayestopt_.p4,1); 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 end
MetropolisFolder = CheckPath('metropolis',M_.dname); 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