Commit 52ce0d8b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix bug with discretionary_policy

Since, in this case, there are less equations than endogenous, the
variable_reordered structure was not filled with enough element, leading to an
invalid memory read when printing M_.state_var.

Ref #637
parent 63a5ffb7
......@@ -2052,10 +2052,10 @@ void
for (size_t j = 0; j < equations.size(); j++)
for (int j = 0; j < symbol_table.endo_nbr(); j++)
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