Commit ddbeb8ce authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Remove unused oo_.dr.kae, oo_.dr.kad

parent 31a13db6
...@@ -157,8 +157,6 @@ end ...@@ -157,8 +157,6 @@ end
dr=set_state_space(dr,M_,options_); dr=set_state_space(dr,M_,options_);
kstate = dr.kstate; kstate = dr.kstate;
kad = dr.kad;
kae = dr.kae;
nstatic = dr.nstatic; nstatic = dr.nstatic;
nfwrd = dr.nfwrd; nfwrd = dr.nfwrd;
npred = dr.npred; npred = dr.npred;
......
...@@ -98,15 +98,6 @@ nd = nnz(kmask); % size of the state vector ...@@ -98,15 +98,6 @@ nd = nnz(kmask); % size of the state vector
kmask(i_kmask) = (1:nd); kmask(i_kmask) = (1:nd);
% auxiliary equations % auxiliary equations
% elements that are both in z(t+1) and z(t)
k1 = find([kmask(1:end-DynareModel.endo_nbr) & kmask(DynareModel.endo_nbr+1:end)] );
kad = [];
kae = [];
if ~isempty(k1)
kad = kmask(k1+DynareModel.endo_nbr);
kae = kmask(k1);
end
% composition of state vector % composition of state vector
% col 1: variable; col 2: lead/lag in z(t+1); % col 1: variable; col 2: lead/lag in z(t+1);
% col 3: A cols for t+1 (D); col 4: A cols for t (E) % col 3: A cols for t+1 (D); col 4: A cols for t (E)
...@@ -128,8 +119,6 @@ dr.inv_order_var = inv_order_var'; ...@@ -128,8 +119,6 @@ dr.inv_order_var = inv_order_var';
dr.nstatic = nstatic; dr.nstatic = nstatic;
dr.npred = npred+nboth; dr.npred = npred+nboth;
dr.kstate = kstate; dr.kstate = kstate;
dr.kad = kad;
dr.kae = kae;
dr.nboth = nboth; dr.nboth = nboth;
dr.nfwrd = nfwrd; dr.nfwrd = nfwrd;
% number of forward variables in the state vector % number of forward variables in the state vector
...@@ -137,4 +126,4 @@ dr.nsfwrd = nfwrd+nboth; ...@@ -137,4 +126,4 @@ dr.nsfwrd = nfwrd+nboth;
% number of predetermined variables in the state vector % number of predetermined variables in the state vector
dr.nspred = npred+nboth; dr.nspred = npred+nboth;
dr.transition_auxiliary_variables = []; dr.transition_auxiliary_variables = [];
\ No newline at end of file
...@@ -128,8 +128,6 @@ if any(any(isnan(jacobia_))) ...@@ -128,8 +128,6 @@ if any(any(isnan(jacobia_)))
end end
kstate = dr.kstate; kstate = dr.kstate;
kad = dr.kad;
kae = dr.kae;
nstatic = dr.nstatic; nstatic = dr.nstatic;
nfwrd = dr.nfwrd; nfwrd = dr.nfwrd;
npred = dr.npred; npred = dr.npred;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment