We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f23987 commit 67bd44eCopy full SHA for 67bd44e
pymc_extras/statespace/core/statespace.py
@@ -2072,7 +2072,7 @@ def forecast(
2072
for name in self.data_names:
2073
if name in scenario.keys():
2074
pm.set_data(
2075
- {"data": np.zeros_like(scenario[name])},
+ {"data": np.zeros((len(forecast_index), self.k_endog))},
2076
coords={"data_time": np.arange(len(forecast_index))},
2077
)
2078
break
0 commit comments