Ramsey_policy is now compatible with bytecode option
parent
e2315e587e
commit
a3e1d17b9e
|
@ -131,9 +131,14 @@ Uyy = reshape(Uyy,endo_nbr,endo_nbr);
|
||||||
|
|
||||||
% set multipliers and auxiliary variables that
|
% set multipliers and auxiliary variables that
|
||||||
% depends on multipliers to 0 to compute residuals
|
% depends on multipliers to 0 to compute residuals
|
||||||
[res,fJ] = feval([fname '_static'],xx,[oo.exo_simul oo.exo_det_simul], ...
|
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);
|
M.params);
|
||||||
|
end
|
||||||
% index of multipliers and corresponding equations
|
% index of multipliers and corresponding equations
|
||||||
% the auxiliary variables before the Lagrange multipliers are treated
|
% the auxiliary variables before the Lagrange multipliers are treated
|
||||||
% as ordinary endogenous variables
|
% as ordinary endogenous variables
|
||||||
|
|
Loading…
Reference in New Issue