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

* bug fix when posterior filter or forecast are not triggered. (thanks to...

* bug fix when posterior filter or forecast are not triggered. (thanks to Daniel from the Dynare Forum)

Manual cherry pick from 4.2 commit:fdb364e4
parent e6b9912b
No related branches found
No related tags found
No related merge requests found
......@@ -228,14 +228,18 @@ else
ifil(2,j+1) =ifil(2,j)+nfiles;
nfiles = ceil(nBlockPerCPU(j)/MAX_nerro);
ifil(3,j+1) =ifil(3,j)+nfiles;
if naK
nfiles = ceil(nBlockPerCPU(j)/MAX_naK);
ifil(4,j+1) =ifil(4,j)+nfiles;
end
nfiles = ceil(nBlockPerCPU(j)/MAX_nruns);
ifil(5,j+1) =ifil(5,j)+nfiles;
if horizon
nfiles = ceil(nBlockPerCPU(j)/MAX_nforc1);
ifil(6,j+1) =ifil(6,j)+nfiles;
nfiles = ceil(nBlockPerCPU(j)/MAX_nforc2);
ifil(7,j+1) =ifil(7,j)+nfiles;
end
% nfiles = ceil(nBlockPerCPU(j)/MAX_momentsno);
% ifil(8,j+1) =ifil(8,j)+nfiles;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment