From ff1ae57ec06eb1ded0aefc04bbd64b0076c27209 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 --- preprocessor/DynareBison.yy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/preprocessor/DynareBison.yy b/preprocessor/DynareBison.yy index dac5db110..28709769f 100644 --- a/preprocessor/DynareBison.yy +++ b/preprocessor/DynareBison.yy @@ -3221,16 +3221,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