Fix bug in dyn_forecast.m that led to crashes when periods-option was…
… not specified
Condition for setting ex did not account for equality of horizon and periods. Affects only forecasting with exogenous deterministic variables.
… not specified
Condition for setting ex did not account for equality of horizon and periods. Affects only forecasting with exogenous deterministic variables.