Merge branch 'disp_aux_4' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2117
unit-tests
Sébastien Villemot 2022-12-20 17:22:46 +01:00
commit aec0efa8f6
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ value_format_zero = sprintf('%%%dd',header_label_length);
if ~isempty(M_.aux_vars)
aux_vars_type = [M_.aux_vars.type];
if any(aux_vars_type==4)
aux_var_additional_characters=14;
aux_var_additional_characters=17;
else
aux_var_additional_characters=3;
end

View File

@ -50,7 +50,7 @@ if ~isempty(aux_index)
orig_name = M_.exo_names{M_.aux_vars(aux_index).orig_index};
case 4
% Expectation operator
str = sprintf('EXPECTATION(%d)(...)', aux_lead_lag);
str = sprintf('%s', M_.aux_vars(aux_index).orig_expr);
return
case 6
% Ramsey's multipliers