Simplify sim1_purely_forward

time-shift
Sébastien Villemot 2012-06-04 16:13:03 +02:00
parent 4b2405a014
commit b727aa1b92
1 changed files with 1 additions and 4 deletions

View File

@ -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