Skip to content
Snippets Groups Projects
Commit 6ea07bf2 authored by Marco Ratto's avatar Marco Ratto
Browse files

bug fix for when the desired vintage date does not coincide to an end-of-the-year Q4 period.

parent 58c15bd1
No related merge requests found
......@@ -200,6 +200,7 @@ if realtime_ && isstruct(oo_) && isfield(oo_, 'realtime_shock_decomposition')
% make annualized shock decomp
z = annualiz(z,t0,q2a,aux,steady_state);
oo_.annualized_realtime_shock_decomposition.(['yr_' int2str(yr)]) = z;
end
oo_.annualized_realtime_forecast_shock_decomposition.(['yr_' int2str(yr)]) = z(:,:,end-nfrcst:end);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment