Skip to content
Snippets Groups Projects
Commit def9ee92 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Steady state calculation of Ramsey problem: fix bug when params are updated.

If the steady state file was modifying parameters, the changes were not taken
fully taken into account.

Thanks to Junior Maih for noticing and proposing the fix.
parent 9c733de4
Branches
Tags
No related merge requests found
......@@ -137,11 +137,11 @@ Uyy = reshape(Uyy,endo_nbr,endo_nbr);
% depends on multipliers to 0 to compute residuals
if (options_.bytecode)
[chck, res, junk] = bytecode('static',xx,[oo.exo_simul oo.exo_det_simul], ...
M.params, 'evaluate');
params, 'evaluate');
fJ = junk.g1;
else
[res,fJ] = feval([fname '_static'],xx,[oo.exo_simul oo.exo_det_simul], ...
M.params);
params);
end
% index of multipliers and corresponding equations
% the auxiliary variables before the Lagrange multipliers are treated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment