Bug correction.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1746 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
adjemian 2008-03-27 09:19:38 +00:00
parent 59c30113c1
commit be833e1e03
1 changed files with 6 additions and 2 deletions

View File

@ -213,8 +213,12 @@ if (nargout == 6)
end
if (nargout==7)
iGXX = inv(GXX);
iXX = iGXX;
if isinf(dsge_prior_weight)
iXX = iGXX;
else
iXX = tmp2;
end
iGXX = inv(GXX);
prior.SIGMAstar = GYY - GYX*iGXX*GYX';
prior.PHIstar = iGXX*transpose(GYX);
prior.ArtificialSampleSize = fix(dsge_prior_weight*gend);