Do not overwrite solve_algo option.
parent
5c3e291483
commit
4f3a0df884
|
@ -98,7 +98,6 @@ X = exogenousvariables{exo_names{:}}.data;
|
|||
% Inversion of the model, solvers for the free endogenous and exogenous variables (call a Newton-like algorithm in each period).
|
||||
ity = 2;
|
||||
itx = find(exogenousvariables.dates==constraints.dates(1));
|
||||
DynareOptions.solve_algo=4;
|
||||
for t = 1:nobs(constraints)
|
||||
% Set the lagged values of the endogenous variables.
|
||||
ylag = Y(iy1,ity-1);
|
||||
|
@ -126,4 +125,4 @@ for t = 1:nobs(constraints)
|
|||
end
|
||||
|
||||
endogenousvariables = dseries(Y(:,2:end)', constraints.dates(1), endo_names);
|
||||
exogenousvariables = dseries(X(find(exogenousvariables.dates==constraints.dates(1))+(0:(nobs(constraints)-1)),:), constraints.dates(1), exo_names);
|
||||
exogenousvariables = dseries(X(find(exogenousvariables.dates==constraints.dates(1))+(0:(nobs(constraints)-1)),:), constraints.dates(1), exo_names);
|
||||
|
|
Loading…
Reference in New Issue