Bug correction related to the case where mh_replic=0 and load_mh_file=1 (oo_ is saved after marginal_density.m and GetPosteriorParametersStatistcs.m)

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1160 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
adjemian 2007-01-22 16:32:36 +00:00
parent 8de9d8b5cb
commit a5b243b32c
1 changed files with 4 additions and 1 deletions

View File

@ -812,8 +812,11 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | ...
if options_.mh_replic
marginal = marginal_density;
end
%%
%%
GetPosteriorParametersStatistics;
%% Results are saved (in case of an anormal exit from dynare or matlab)...
save([fname_ 'results'],oo_);
%%
PlotPosteriorDistributions;
metropolis_draw(1);
if options_.bayesian_irf