Commit 353fce6b authored by michel's avatar michel
Browse files

v4 get_posterior_parameters.m: bug correction


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1821 ac1d8469-bf42-47a9-8791-bf33cf982152
parent ffc6c8fd
......@@ -44,8 +44,8 @@ end
for i=1:ncx
k1 = estim_params_.corrx(i,1);
k2 = estim_params_.corrx(i,2);
name1 = deblank(M_.var_exo(k1,:));
name2 = deblank(M_.var_exo(k2,:));
name1 = deblank(M_.exo_names(k1,:));
name2 = deblank(M_.exo_names(k2,:));
xparam(m) = eval(['oo_.posterior_' type '.shocks_corr.' name1 '_' name2]);
M_.Sigma_e(k1,k2) = xparam(m);
M_.Sigma_e(k2,k1) = xparam(m);
......
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