Commit ee75bf6a authored by adjemian's avatar adjemian
Browse files

load oo_ from _results.mat if mh_replic = 0 and load_mh_file

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1165 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 863680fb
......@@ -19,6 +19,10 @@ function get_posterior_parameters_statistics()
% Gnu Public License.
global estim_params_ M_ options_ bayestopt_ oo_
if ~options_.mh_replic & options_.load_mh_file
load([M_.fname '_results.mat'],'oo_');
end
TeX = options_.TeX;
nblck = options_.mh_nblck;
nvx = estim_params_.nvx;
......
......@@ -815,7 +815,7 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | ...
%%
GetPosteriorParametersStatistics;
%% Results are saved (in case of an anormal exit from dynare or matlab)...
save([M_.fname 'results'],'oo_');
save([M_.fname '_results'],'oo_');
%%
PlotPosteriorDistributions;
metropolis_draw(1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment