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

Simplify sim1_purely_forward

parent 4b2405a0
......@@ -33,9 +33,6 @@ function sim1_purely_forward
yf = oo_.endo_simul(:,it+1); % Values at next period, also used as guess value for current period
yf1 = yf(iyf);
f = @(x) model_dynamic([x; yf1 ], oo_.exo_simul, M_.params, ...
oo_.steady_state, it);
oo_.endo_simul(:,it) = solve1(f, yf, 1:M_.endo_nbr, 1:M_.endo_nbr, 1, 1);
oo_.endo_simul(:,it) = solve1(model_dynamic, [yf; yf1], 1:M_.endo_nbr, 1:M_.endo_nbr, 1, 1, oo_.exo_simul, M_.params, oo_.steady_state, it)(1:M_.endo_nbr);
end
\ No newline at end of file
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