Fixed issue with the size of x (exogenous variables).
parent
b866bd828c
commit
ccfd809dd0
|
@ -77,9 +77,9 @@ Y = DynareOutput.endo_simul;
|
|||
|
||||
% get coefficients
|
||||
[cst,jacob] = model_dynamic(zeros(DynareModel.endo_nbr+ny1,1), ...
|
||||
zeros(2,size(DynareOutput.exo_simul, 2)), ...
|
||||
zeros(2,DynareModel.exo_nbr), ...
|
||||
DynareModel.params, ...
|
||||
DynareOutput.steady_state,2);
|
||||
DynareOutput.steady_state,1);
|
||||
A0inv = inv(jacob(:,jdx));
|
||||
A1 = jacob(:,nonzeros(DynareModel.lead_lag_incidence(1,:)));
|
||||
B = jacob(:,end-number_of_shocks+1:end);
|
||||
|
|
Loading…
Reference in New Issue