v4 set_parameters.m: bug when prior only on parameters
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1022 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
bdf036e402
commit
b45ad0d64c
|
@ -5,9 +5,9 @@ function set_parameters(xparam1)
|
|||
ncx = estim_params_.ncx;
|
||||
np = estim_params_.np;
|
||||
Sigma_e = M_.Sigma_e;
|
||||
|
||||
offset = 0;
|
||||
if nvx
|
||||
offset = nvx;
|
||||
offset = offset + nvx;
|
||||
var_exo = estim_params_.var_exo;
|
||||
for i=1:nvx
|
||||
k = var_exo(i,1);
|
||||
|
@ -16,7 +16,7 @@ function set_parameters(xparam1)
|
|||
end
|
||||
|
||||
if ncx
|
||||
offset = nvx + estim_params_.nvn;
|
||||
offset = offset + estim_params_.nvn;
|
||||
corrx = estim_params_.corrx;
|
||||
for i=1:ncx
|
||||
k1 = corrx(i,1);
|
||||
|
|
Loading…
Reference in New Issue