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

fixes bug for solve_algo = 10 and lags on exogenous variables

parent b080e5d7
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ i_rows = 1:ny;
i_cols_J = i_cols;
offset = 0;
for it = 2:(T+1)
for it = (maximum_lag+1):(T+1)
if nargout == 1
residuals(i_rows) = dynamic_function(YY(i_cols),exo_simul, params, ...
steady_state,it);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment