Fix bug in use_shock_groups and colormap
Option was not written to correct subfield of options_-structure. Related to 7cd56e9687
time-shift
parent
0500a69031
commit
3bac10a97d
|
@ -30,7 +30,6 @@ function [z, steady_state] = plot_shock_decomposition(M_,oo_,options_,varlist)
|
||||||
|
|
||||||
options_.nodisplay = options_.plot_shock_decomp.nodisplay;
|
options_.nodisplay = options_.plot_shock_decomp.nodisplay;
|
||||||
options_.graph_format = options_.plot_shock_decomp.graph_format;
|
options_.graph_format = options_.plot_shock_decomp.graph_format;
|
||||||
options_.use_shock_groups = options_.plot_shock_decomp.use_shock_groups;
|
|
||||||
|
|
||||||
% indices of endogenous variables
|
% indices of endogenous variables
|
||||||
if size(varlist,1) == 0
|
if size(varlist,1) == 0
|
||||||
|
|
|
@ -2553,8 +2553,8 @@ plot_shock_decomposition_options_list : plot_shock_decomposition_option COMMA pl
|
||||||
| plot_shock_decomposition_option
|
| plot_shock_decomposition_option
|
||||||
;
|
;
|
||||||
|
|
||||||
plot_shock_decomposition_option : o_psd_use_shock_groups
|
plot_shock_decomposition_option : o_use_shock_groups
|
||||||
| o_psd_colormap
|
| o_colormap
|
||||||
| o_psd_nodisplay
|
| o_psd_nodisplay
|
||||||
| o_psd_graph_format
|
| o_psd_graph_format
|
||||||
| o_psd_detail_plot
|
| o_psd_detail_plot
|
||||||
|
@ -3375,14 +3375,10 @@ o_lmmcp : LMMCP {driver.option_num("lmmcp.status", "1"); };
|
||||||
o_occbin : OCCBIN {driver.option_num("occbin", "1"); };
|
o_occbin : OCCBIN {driver.option_num("occbin", "1"); };
|
||||||
o_function : FUNCTION EQUAL filename { driver.option_str("function", $3); };
|
o_function : FUNCTION EQUAL filename { driver.option_str("function", $3); };
|
||||||
o_sampling_draws : SAMPLING_DRAWS EQUAL INT_NUMBER { driver.option_num("sampling_draws",$3); };
|
o_sampling_draws : SAMPLING_DRAWS EQUAL INT_NUMBER { driver.option_num("sampling_draws",$3); };
|
||||||
o_use_shock_groups : USE_SHOCK_GROUPS { driver.option_str("use_shock_groups","default"); }
|
o_use_shock_groups : USE_SHOCK_GROUPS { driver.option_str("plot_shock_decomp.use_shock_groups","default"); }
|
||||||
| USE_SHOCK_GROUPS EQUAL symbol { driver.option_str("use_shock_groups", $3); }
|
| USE_SHOCK_GROUPS EQUAL symbol { driver.option_str("plot_shock_decomp.use_shock_groups", $3); }
|
||||||
;
|
;
|
||||||
o_psd_use_shock_groups : USE_SHOCK_GROUPS { driver.option_str("plot_shock_decomp.use_shock_groups","default"); }
|
|
||||||
| USE_SHOCK_GROUPS EQUAL symbol { driver.option_str("plot_shock_decomp.use_shock_groups", $3); }
|
|
||||||
;
|
|
||||||
o_colormap : COLORMAP EQUAL symbol { driver.option_num("plot_shock_decomp.colormap",$3); };
|
o_colormap : COLORMAP EQUAL symbol { driver.option_num("plot_shock_decomp.colormap",$3); };
|
||||||
o_psd_colormap : COLORMAP EQUAL symbol { driver.option_num("plot_shock_decomp.colormap",$3); };
|
|
||||||
|
|
||||||
range : symbol ':' symbol
|
range : symbol ':' symbol
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue