Skip to content
Snippets Groups Projects
Commit a3e1d17b authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

Ramsey_policy is now compatible with bytecode option

parent e2315e58
Branches
Tags
No related merge requests found
......@@ -131,9 +131,14 @@ Uyy = reshape(Uyy,endo_nbr,endo_nbr);
% set multipliers and auxiliary variables that
% 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');
fJ = junk.g1;
else
[res,fJ] = feval([fname '_static'],xx,[oo.exo_simul oo.exo_det_simul], ...
M.params);
end
% index of multipliers and corresponding equations
% the auxiliary variables before the Lagrange multipliers are treated
% as ordinary endogenous variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment