Skip to content
Snippets Groups Projects
Commit 0096c757 authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

In a block decomposed model the variables are not stored in the usual order

parent ca103726
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,11 @@ switch nargin
nstatic = DynareResults.dr.nstatic;
npred = DynareResults.dr.npred;
iv = (1:endo_nbr)';
if DynareOptions.block == 0
ic = [ nstatic+(1:npred) endo_nbr+(1:size(DynareResults.dr.ghx,2)-npred) ]';
else
ic = DynareResults.dr.restrict_columns;
end;
case 4
iv = DynareResults.dr.restrict_var_list;
ic = DynareResults.dr.restrict_columns;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment