From 5bb4ff02bce354b085301ef7717c49465e958570 Mon Sep 17 00:00:00 2001 From: Marco Ratto Date: Fri, 12 Feb 2010 17:24:24 +0100 Subject: [PATCH] Added parallel_info argument to masterparallel --- matlab/independent_metropolis_hastings.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/independent_metropolis_hastings.m b/matlab/independent_metropolis_hastings.m index 05fa09579..4aa6916ab 100644 --- a/matlab/independent_metropolis_hastings.m +++ b/matlab/independent_metropolis_hastings.m @@ -95,7 +95,7 @@ else % from where to get back results % NamFileOutput(1,:) = {[M_.dname,'/metropolis/'],'*.*'}; - [fout, nBlockPerCPU, totCPU] = masterParallel(options_.parallel, fblck, nblck,NamFileInput,'independent_metropolis_hastings_core', localVars, globalVars); + [fout, nBlockPerCPU, totCPU] = masterParallel(options_.parallel, fblck, nblck,NamFileInput,'independent_metropolis_hastings_core', localVars, globalVars, options_.parallel_info); for j=1:totCPU, offset = sum(nBlockPerCPU(1:j-1))+fblck-1; record.LastLogLiK(offset+1:sum(nBlockPerCPU(1:j)))=fout(j).record.LastLogLiK(offset+1:sum(nBlockPerCPU(1:j)));