From aab5b2a48802a4180611882152c1b1ac23e95067 Mon Sep 17 00:00:00 2001 From: Ferhat Mihoubi Date: Fri, 31 Dec 2010 16:22:24 +0100 Subject: [PATCH] - Manages the temporary terms when the model is evaluated block by block --- matlab/block_bytecode_mfs_steadystate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/block_bytecode_mfs_steadystate.m b/matlab/block_bytecode_mfs_steadystate.m index 2fe4c5918..9cb6cfc5f 100644 --- a/matlab/block_bytecode_mfs_steadystate.m +++ b/matlab/block_bytecode_mfs_steadystate.m @@ -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) ''');']); \ 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