jessegrabowski / gEconpy

A collection of tools for working with DSGE models in python, inspired by the R package gEcon
https://geconpy.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
23 stars 3 forks source link

Temporarily remove njit decorator from `extract_sparse_data_from_model` pending refactor #20

Closed jessegrabowski closed 1 year ago

jessegrabowski commented 1 year ago

The extract_sparse_data_from_model function was causing kalman filter tests to fail because of how I wrote the numba wrappers. I also got it to cause sigfaults, which is obviously bad.

The entire method of numbafying the model for estimation needs to be revisited. Preferably implement a function to compile a jitclass model object with relevant numerical methods (fit, impulse_response, check_bk, etc).