From 6e0d9197519a1be6ca960cf3dc0eb7e02d959fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 9 Mar 2015 18:21:36 +0100 Subject: [PATCH] Fix issue with purely forward deterministic models with lags on exogenous. Ref #617 --- matlab/perfect-foresight-models/sim1_purely_forward.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/perfect-foresight-models/sim1_purely_forward.m b/matlab/perfect-foresight-models/sim1_purely_forward.m index 8a8fa3294..34b60f510 100644 --- a/matlab/perfect-foresight-models/sim1_purely_forward.m +++ b/matlab/perfect-foresight-models/sim1_purely_forward.m @@ -37,7 +37,7 @@ function oo_ = sim1_purely_forward(options_, M_, oo_) 1, options_.gstep, options_.solve_tolf, ... options_.solve_tolx, options_.simul.maxit, ... options_.debug,oo_.exo_simul, M_.params, oo_.steady_state, ... - it); + it+M_.maximum_lag); if info oo_.deterministic_simulation.status = 0;