Commit a44b3fbf authored by Marco Ratto's avatar Marco Ratto

Bug fixed for incomplete stock matrices of log-posterior kernel and steady state

[used in gsa/filt_mc_.m]
parent e32cbf62
...@@ -273,6 +273,8 @@ for b=fpar:B ...@@ -273,6 +273,8 @@ for b=fpar:B
if irun(5) > MAX_nruns || b == B if irun(5) > MAX_nruns || b == B
stock = stock_param(1:irun(5)-1,:); stock = stock_param(1:irun(5)-1,:);
stock_logpo = stock_logpo(1:irun(5)-1);
stock_ys = stock_ys(1:irun(5)-1,:);
ifil(5) = ifil(5) + 1; ifil(5) = ifil(5) + 1;
save([DirectoryName '/' M_.fname '_param' int2str(ifil(5)) '.mat'],'stock','stock_logpo','stock_ys'); save([DirectoryName '/' M_.fname '_param' int2str(ifil(5)) '.mat'],'stock','stock_logpo','stock_ys');
if RemoteFlag==1, if RemoteFlag==1,
......
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