Commit 8913791f authored by MichelJuillard's avatar MichelJuillard

fixes bug for solve_algo = 10 and lags on exogenous variables

parent b080e5d7
......@@ -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);
......
Markdown is supported
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