Merge pull request #1325 from JohannesPfeifer/dyn_forecast

Fix bug in dyn_forecast.m that led to crashes when periods-option was…
time-shift
Stéphane Adjemian 2016-11-04 15:11:44 +01:00 committed by GitHub
commit fa8028f79a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ else
repmat(oo.exo_det_steady_state',...
horizon- ...
exo_det_length,1)];
elseif horizon < exo_det_length
elseif horizon <= exo_det_length
ex = zeros(exo_det_length,M.exo_nbr);
end
if isequal(M.H,0)