bug fix for computing shock decomp for auxiliary variable with groups

time-shift
Marco Ratto 2019-07-01 16:11:41 +02:00
parent c8c473cc60
commit ac511ca756
1 changed files with 1 additions and 0 deletions

View File

@ -437,6 +437,7 @@ switch type
if isstruct(q2a.aux) && ischar(q2a.aux.y)
opts=options_;
opts.plot_shock_decomp.type='qoq';
opts.plot_shock_decomp.use_shock_groups=[];
[y_aux, steady_state_aux] = plot_shock_decomposition(M_,oo_,opts,q2a.aux.y);
q2a.aux.y=y_aux;
q2a.aux.yss=steady_state_aux;