Skip to content
Snippets Groups Projects
Verified Commit a6e71d47 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

posterior_sampler.m: make sure proposal density fields are set in parallel

(cherry picked from commit 3c11ee95)
parent 8247511c
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,10 @@ else
record.AcceptanceRatio(offset+1:sum(nBlockPerCPU(1:j)))=fout(j).record.AcceptanceRatio(offset+1:sum(nBlockPerCPU(1:j)));
record.FunctionEvalPerIteration(offset+1:sum(nBlockPerCPU(1:j)))=fout(j).record.FunctionEvalPerIteration(offset+1:sum(nBlockPerCPU(1:j)));
record.LastSeeds(offset+1:sum(nBlockPerCPU(1:j)))=fout(j).record.LastSeeds(offset+1:sum(nBlockPerCPU(1:j)));
if j==1
record.ProposalCovariance=fout(j).record.ProposalCovariance;
record.ProposalScaleVec=fout(j).record.ProposalScaleVec;
end
end
options_.parallel_info.parallel_recover = 0;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment