Skip to content
Snippets Groups Projects
Commit 597a4b92 authored by MichelJuillard's avatar MichelJuillard
Browse files

discretionary_policy: fixing bug in preprocessor requirements

parent 838c0cd8
No related branches found
No related tags found
No related merge requests found
......@@ -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()))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment