Skip to content
Snippets Groups Projects
Commit 078c2b7b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'model_info' into 'master'

:bug: subst_auxvar.m: account for auxiliary type 5

See merge request !2331
parents f1c1a358 8313cd5e
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,6 @@ function print_line(names,var_index,lead_lag,M_)
end
else
aux_index=find([M_.aux_vars(:).endo_index]==var_index);
aux_type=M_.aux_vars(aux_index).type;
if lead_lag==0
str = subst_auxvar(var_index, [], M_);
else
......
......@@ -59,8 +59,8 @@ if ~isempty(aux_index)
% Expectation operator
str = sprintf('%s', M_.aux_vars(aux_index).orig_expr);
return
case 6
% Ramsey's multipliers
case {5,6}
% differentiate_forward_vars and Ramsey multipliers
if ~isempty(aux_lead_lag)
str = sprintf('%s(%d)', M_.endo_names{M_.aux_vars(aux_index).endo_index}, aux_lead_lag);
else
......
......@@ -88,6 +88,7 @@ end;
steady;
check;
model_info;
perfect_foresight_setup(periods=500);
perfect_foresight_solver;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment