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

time-shift
Ferhat Mihoubi 2010-12-31 16:22:24 +01:00
parent 129303430e
commit aab5b2a488
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
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) ''');']);
eval(['[chk, r, g1] = bytecode( y_all, x, M_.params, 1, y_all, ''evaluate'', ''static'', ''block = ' int2str(b) ''', ''global_temporary_terms'');']);