Skip to content

Error when importing model with aggregate section #5

Description

@ezgioz

Can not import the CS model:

mc = exogenous.discretize(to='mc', options=[{}, discretization_options])
to='mc' should be corrected

Error message:
~/EconForge/dolARK/dolark/perturbation.py in init(self, model, dr0, discretization_options, exo_grid, endo_grid)
39 # by default grids for the distribution are taken from model/d.r.
40 exogenous = copy.deepcopy(model.exogenous)
---> 41 mc = exogenous.discretize(to='mc', options=[{}, discretization_options])
42 exo_grid = mc.grid
43 endo_grid = model.get_grid()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions