Merge pull request #1325 from JohannesPfeifer/dyn_forecast
Fix bug in dyn_forecast.m that led to crashes when periods-option was…time-shift
commit
fa8028f79a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue