From c6ee541f11a1177d86bdf58c5c31b1ec35c15191 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Tue, 7 Nov 2017 20:24:29 +0100 Subject: [PATCH] Correct setting of plot_shock_decomp.type Closes #1548 (cherry picked from commit ff1ae57ec06eb1ded0aefc04bbd64b0076c27209) --- preprocessor/DynareBison.yy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/preprocessor/DynareBison.yy b/preprocessor/DynareBison.yy index be46daae9..d2c6ae516 100644 --- a/preprocessor/DynareBison.yy +++ b/preprocessor/DynareBison.yy @@ -3047,16 +3047,16 @@ o_psd_fig_name : FIG_NAME EQUAL filename { driver.option_str("plot_shock_decomp. o_psd_type : TYPE EQUAL QOQ { driver.option_str("plot_shock_decomp.type", "qoq"); } | TYPE EQUAL YOY - { driver.option_str("plot_shock_decomp.type", "qoq"); } + { driver.option_str("plot_shock_decomp.type", "yoy"); } | TYPE EQUAL AOA - { driver.option_str("plot_shock_decomp.type", "qoq"); } + { driver.option_str("plot_shock_decomp.type", "aoa"); } ; o_icd_type : TYPE EQUAL QOQ { driver.option_str("initial_condition_decomp.type", "qoq"); } | TYPE EQUAL YOY - { driver.option_str("initial_condition_decomp.type", "qoq"); } + { driver.option_str("initial_condition_decomp.type", "yoy"); } | TYPE EQUAL AOA - { driver.option_str("initial_condition_decomp.type", "qoq"); } + { driver.option_str("initial_condition_decomp.type", "aoa"); } ; o_icd_plot_init_date : PLOT_INIT_DATE EQUAL date_expr { driver.option_date("initial_condition_decomp.plot_init_date", $3); } ; o_icd_plot_end_date : PLOT_END_DATE EQUAL date_expr { driver.option_date("initial_condition_decomp.plot_end_date", $3); } ; -- GitLab