Skip to content
Snippets Groups Projects
Commit c8c102b4 authored by MichelJuillard's avatar MichelJuillard
Browse files

reorganized code and added comments

parent 0a5909f1
Branches
No related tags found
No related merge requests found
...@@ -280,8 +280,6 @@ else ...@@ -280,8 +280,6 @@ else
ghx = [hx(k1,:); gx(k2(nboth+1:end),:)]; ghx = [hx(k1,:); gx(k2(nboth+1:end),:)];
end end
dr.gx = gx;
if nstatic > 0 if nstatic > 0
B_static = B(:,1:nstatic); % submatrix containing the derivatives w.r. to static variables B_static = B(:,1:nstatic); % submatrix containing the derivatives w.r. to static variables
else else
...@@ -317,8 +315,6 @@ else ...@@ -317,8 +315,6 @@ else
ghu = []; ghu = [];
end; end;
dr.ghx = ghx; dr.ghx = ghx;
dr.ghu = ghu; dr.ghu = ghu;
...@@ -329,4 +325,7 @@ if DynareOptions.aim_solver ~= 1 && DynareOptions.use_qzdiv ...@@ -329,4 +325,7 @@ if DynareOptions.aim_solver ~= 1 && DynareOptions.use_qzdiv
hx = real(hx); hx = real(hx);
end end
% non-predetermined variables
dr.gx = gx;
%predetermined (endogenous state) variables, square transition matrix
dr.Gy = hx; dr.Gy = hx;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment