* bug fix when posterior filter or forecast are not triggered. (thanks to Daniel from the Dynare Forum)
Manual cherry pick from 4.2 commit:fdb364e44e79473978f9ff27bba8caa36665052ctime-shift
parent
e6b9912bb4
commit
a64362f43d
|
@ -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;
|
||||
nfiles = ceil(nBlockPerCPU(j)/MAX_naK);
|
||||
ifil(4,j+1) =ifil(4,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;
|
||||
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;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue