v4 get_posterior_parameters.m: bug correction

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1821 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2008-05-02 18:37:05 +00:00
parent ffc6c8fdef
commit 353fce6bfa
1 changed files with 2 additions and 2 deletions

View File

@ -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);