corrected bug in load prev. file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@703 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
91f8b693fc
commit
91fa502406
|
@ -284,7 +284,7 @@ InitSizeArray = min([MAX_nruns*ones(nblck) nruns],[],2);
|
|||
for b = fblck:nblck
|
||||
if (options_.load_mh_file~=0) & (fline(b)>1) & OpenOldFile(b)
|
||||
load(['./' MhDirectoryName '/' M_.fname '_mh' int2str(NewFile(b)) ...
|
||||
'_blck' int2str(b) '.'])
|
||||
'_blck' int2str(b) '.mat'])
|
||||
x2 = [x2;zeros(InitSizeArray(b)-fline(b)+1,npar)];
|
||||
logpo2 = [logpo2;zeros(InitSizeArray(b)-fline(b)+1,1)];
|
||||
OpenOldFile(b) = 0;
|
||||
|
@ -345,4 +345,4 @@ save([MhDirectoryName '/' M_.fname '_mh_history'],'record');
|
|||
disp(['MH: Number of mh files : ' int2str(NewFile(1)) ' per block.'])
|
||||
disp(['MH: Total number of generated files : ' int2str(NewFile(1)*nblck) '.'])
|
||||
disp(['MH: Total number of iterations : ' int2str((NewFile(1)-1)*MAX_nruns+irun-1) '.'])
|
||||
disp(' ')
|
||||
disp(' ')
|
||||
|
|
Loading…
Reference in New Issue