Skip to content
Snippets Groups Projects
Commit 165fee84 authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian
Browse files

bug fix with initial_date for conditional shock decomposition

(cherry picked from commit f4b25efc)
parent 9629d28f
Branches
Tags
No related merge requests found
......@@ -134,7 +134,7 @@ steady_state = oo_.steady_state;
if isequal(type,'aoa') && isstruct(q2a) && realtime_
% take all dates where realtime is saved
qqq=initial_date+options_.shock_decomp.save_realtime(:)-1;
qqq=options_.initial_date+options_.shock_decomp.save_realtime(:)-1;
% take the first Q4 of saved realtime
t0=min(options_.shock_decomp.save_realtime(qqq.time(:,2)==4));
if isempty(t0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment