Commit 7433d140 authored by MichelJuillard's avatar MichelJuillard

discretionary_policy: fixing bug in preprocessor requirements

parent 989e1917
......@@ -304,7 +304,7 @@ ModFile::transformPass()
- ramsey_policy is used
- a BVAR command is used and there is no equation (standalone BVAR estimation)
*/
if (!mod_file_struct.ramsey_policy_present
if (!(mod_file_struct.ramsey_policy_present || mod_file_struct.discretionary_policy_present)
&& !(mod_file_struct.bvar_present && dynamic_model.equation_number() == 0)
&& (dynamic_model.equation_number() != symbol_table.endo_nbr()))
{
......
Markdown is supported
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