v4 state_space.m: tried to protect the code against the fact that in some version of Matlab the union of 2 scalars is a column vector and in others a row vector ....

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1307 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2007-06-08 12:37:39 +00:00
parent 38c173f3be
commit 5167246461
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ nboth = length(both_var);
npred = length(pred_var);
nfwrd = length(fwrd_var);
nstatic = length(stat_var);
order_var = [ stat_var; pred_var; both_var; fwrd_var];
order_var = [ stat_var(:); pred_var(:); both_var(:); fwrd_var(:)];
inv_order_var(order_var) = (1:M_.endo_nbr);
% building kmask for z state vector in t+1