Commit aab5b2a4 authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

- Manages the temporary terms when the model is evaluated block by block

parent 12930343
function [r, g1] = block_bytecode_mfs_steadystate(y, b, y_all)
function [r, g1, temporary_terms] = block_bytecode_mfs_steadystate(y, b, y_all, temporary_terms)
% Wrapper around the *_static.m file, for use with dynare_solve,
% when block_mfs option is given to steady.
......@@ -23,4 +23,4 @@ global M_ oo_
indx = M_.blocksMFS{b};
y_all(indx) = y;
x = [oo_.exo_steady_state; oo_.exo_det_steady_state];
eval(['[chk, r, g1] = bytecode( y_all, x, M_.params, 1, y_all, ''evaluate'', ''static'', ''block = ' int2str(b) ''');']);
\ No newline at end of file
eval(['[chk, r, g1] = bytecode( y_all, x, M_.params, 1, y_all, ''evaluate'', ''static'', ''block = ' int2str(b) ''', ''global_temporary_terms'');']);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment