From b59dc2cf1a97307b048272cd02e1076265d3650c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 11 Oct 2023 16:33:05 -0400 Subject: [PATCH] det_cond_forecast: fix bug with bytecode+block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plan must immediately follow the “extended_path” string in the input arguments of bytecode. Bug introduced in f84753025d7608e0515fe9d44b7e68814ed9a335. --- matlab/perfect-foresight-models/det_cond_forecast.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/perfect-foresight-models/det_cond_forecast.m b/matlab/perfect-foresight-models/det_cond_forecast.m index 1c7ced5c96..2611502187 100644 --- a/matlab/perfect-foresight-models/det_cond_forecast.m +++ b/matlab/perfect-foresight-models/det_cond_forecast.m @@ -162,7 +162,7 @@ else save_options_dynatol_f = options_.dynatol.f; options_.dynatol.f = 1e-7; if options_.block - [endo, exo] = bytecode('extended_path', 'block_decomposed', plan, oo_.endo_simul, oo_.exo_simul, M_.params, oo_.steady_state, options_.periods); + [endo, exo] = bytecode('extended_path', plan, 'block_decomposed', oo_.endo_simul, oo_.exo_simul, M_.params, oo_.steady_state, options_.periods); else [endo, exo] = bytecode('extended_path', plan, oo_.endo_simul, oo_.exo_simul, M_.params, oo_.steady_state, options_.periods); end -- GitLab