Update of, not yet complete algorithm for unpacking g_2 into ghxx/xu/uu; works ok for ghxu and ghs2 but still not yet completely for ghxx and ghuu
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2624 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
2053243f78
commit
d0f72fd5cf
|
@ -173,7 +173,7 @@ function [dr,info,M_,options_,oo_] = dr1(dr,task,M_,options_,oo_)
|
|||
% end
|
||||
elseif s0 < nspred+nExog & s1 < nExog% nspred+nExog%+1
|
||||
for j=1:g_2rows
|
||||
ghuu(j,(s0-nspred)*nExog+s1-nExog+1) = 2*g_2(j,i);
|
||||
ghuu(j,(s0-nspred)*nExog+s1+1) = 2*g_2(j,i);
|
||||
end
|
||||
else
|
||||
for j=1:g_2rows
|
||||
|
|
Loading…
Reference in New Issue