Commit 41ff70e0 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bugfix: when displaying decision rules, no longer crash if an EXPECTATION...

Bugfix: when displaying decision rules, no longer crash if an EXPECTATION operator (in the past) appears as a state variable. Instead, display a (relatively uninformative) line.
parent 3ba328a5
......@@ -228,6 +228,9 @@ for i = 1:length(M_.aux_vars)
orig_name = deblank(M_.endo_names(M_.aux_vars(i).orig_index, :));
case 3
orig_name = deblank(M_.exo_names(M_.aux_vars(i).orig_index, :));
case 4
str = sprintf('EXPECTATION(%d)(...)', aux_lead_lag);
return
otherwise
error(sprintf('Invalid auxiliary type: %s', M_.endo_names(aux_index, :)))
end
......
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