From 1ce40d4df55b467c8cf395c0714021ecd20214b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 16 Feb 2024 14:59:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Steady=20state=20computation=20w?= =?UTF-8?q?ith=20bytecode=20+=20Ramsey=20policy=20was=20broken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- matlab/optimal_policy/dyn_ramsey_static.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/optimal_policy/dyn_ramsey_static.m b/matlab/optimal_policy/dyn_ramsey_static.m index 8e99a14eb..98ded6786 100644 --- a/matlab/optimal_policy/dyn_ramsey_static.m +++ b/matlab/optimal_policy/dyn_ramsey_static.m @@ -25,7 +25,7 @@ function [steady_state, params, check] = dyn_ramsey_static(ys_init, exo_ss, M_, % SPECIAL REQUIREMENTS % none -% Copyright © 2003-2023 Dynare Team +% Copyright © 2003-2024 Dynare Team % % This file is part of Dynare. % @@ -137,7 +137,7 @@ end % Compute the value of the Lagrange multipliers that minimizes the norm of the % residuals, given the other endogenous if options_.bytecode - res = bytecode('static', M_, options, xx, exo_ss, M_.params, 'evaluate'); + res = bytecode('static', M_, options_, xx, exo_ss, M_.params, 'evaluate'); else res = feval([M_.fname '.sparse.static_resid'], xx, exo_ss, M_.params); end @@ -167,7 +167,7 @@ end function result = check_static_model(ys,exo_ss,M_,options_) result = false; if (options_.bytecode) - res = bytecode('static', M_, options, ys, exo_ss, M_.params, 'evaluate'); + res = bytecode('static', M_, options_, ys, exo_ss, M_.params, 'evaluate'); else res = feval([M_.fname '.sparse.static_resid'], ys, exo_ss, M_.params); end