EconForge / Dolo.jl

Economic modeling in Julia
Other
57 stars 29 forks source link

tabulate does not work on perturbation result #161

Closed gabriellequeran closed 2 years ago

gabriellequeran commented 2 years ago

When pert is written, it can't be tabulated.

albop commented 2 years ago

This is a missing feature in the implementation of the tabulate function (see after https://github.com/EconForge/Dolo.jl/blob/b0310cfdff6eb5119be0db4505b30b1b2cce8a20/src/algos/simulation.jl#L361)

Currently, tabulate does the same thing for any kind of decision rule dr . It takes the boundaries from dr.endo_grid.bounds.

It would make sense to take instead boundaries for model.domain.