You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you want to specify a model with no exogenous shocks, it's required to have an empty exogenous list in the symbols section of the markup:
>>> model
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sb/projects/econ-ark/dolo/dolo/compiler/model.py", line 410, in __repr__
return self.__str__()
File "/home/sb/projects/econ-ark/dolo/dolo/compiler/model.py", line 369, in __str__
res = self.residuals()
File "/home/sb/projects/econ-ark/dolo/dolo/compiler/model.py", line 499, in residuals
return residuals(self, calib)
File "/home/sb/projects/econ-ark/dolo/dolo/algos/steady_state.py", line 15, in residuals
m = calib['exogenous']
File "/home/sb/projects/econ-ark/dolo/dolo/compiler/misc.py", line 82, in __getitem__
return self.flat[p]
KeyError: 'exogenous'
It would be nice if the empty list was not necessary in these situations.
The text was updated successfully, but these errors were encountered:
Currently, if you want to specify a model with no exogenous shocks, it's required to have an empty
exogenous
list in thesymbols
section of the markup:Or else the following error will be raised:
It would be nice if the empty list was not necessary in these situations.
The text was updated successfully, but these errors were encountered: