Fixed bug (options_.varobs is a row cell array of strings) + Cosmetic changes.
parent
195a3f8fff
commit
11f00d041e
|
@ -244,7 +244,6 @@ else
|
|||
end
|
||||
ifil = fout(end).ifil;
|
||||
|
||||
% ??????????
|
||||
stock_gend=gend;
|
||||
stock_data=Y;
|
||||
save([DirectoryName '/' M_.fname '_data.mat'],'stock_gend','stock_data');
|
||||
|
|
|
@ -140,7 +140,7 @@ if run_smoother
|
|||
end
|
||||
end
|
||||
if nvn
|
||||
stock_error = NaN(size(varobs,1),gend,MAX_nerro);
|
||||
stock_error = NaN(length(varobs),gend,MAX_nerro);
|
||||
end
|
||||
if naK
|
||||
stock_filter_step_ahead =NaN(length(options_.filter_step_ahead),endo_nbr,gend+max(options_.filter_step_ahead),MAX_naK);
|
||||
|
@ -150,10 +150,6 @@ stock_logpo = NaN(MAX_nruns,1);
|
|||
stock_ys = NaN(MAX_nruns,endo_nbr);
|
||||
|
||||
for b=fpar:B
|
||||
|
||||
% [deep, logpo] = GetOneDraw(type);
|
||||
% set_all_parameters(deep);
|
||||
% dr = resol(oo_.steady_state,0);
|
||||
if strcmpi(type,'prior')
|
||||
|
||||
[deep, logpo] = GetOneDraw(type);
|
||||
|
@ -304,22 +300,7 @@ for b=fpar:B
|
|||
end
|
||||
irun(7) = 1;
|
||||
end
|
||||
|
||||
% if moments_varendo && (irun(8) > MAX_momentsno || b == B)
|
||||
% stock = stock_moments(1:irun(8)-1);
|
||||
% ifil(8) = ifil(8) + 1;
|
||||
% save([DirectoryName '/' M_.fname '_moments' int2str(ifil(8)) '.mat'],'stock');
|
||||
% if RemoteFlag==1,
|
||||
% OutputFileName_moments = [OutputFileName_moments; {[DirectoryName filesep], [M_.fname '_moments' int2str(ifil(8)) '.mat']}];
|
||||
% end
|
||||
% irun(8) = 1;
|
||||
% end
|
||||
|
||||
% DirectoryName=TempPath;
|
||||
|
||||
|
||||
dyn_waitbar((b-fpar+1)/(B-fpar+1),h);
|
||||
|
||||
end
|
||||
|
||||
myoutput.ifil=ifil;
|
||||
|
@ -332,7 +313,6 @@ if RemoteFlag==1,
|
|||
OutputFileName_param;
|
||||
OutputFileName_forc_mean;
|
||||
OutputFileName_forc_point];
|
||||
% OutputFileName_moments];
|
||||
end
|
||||
|
||||
dyn_waitbar_close(h);
|
||||
|
|
Loading…
Reference in New Issue