EconForge / dolark.py

2 stars 12 forks source link

Perturbation calls the correct dr object now #25

Open ezgioz opened 2 years ago

ezgioz commented 2 years ago

On line 109-110 we need to call the dr argument of the solution, not the solution object itself.

sol0 = time_iteration(hmodel.model, dr0=dr1, verbose=False, maxit=1, dprocess=tmc)

dr0 = sol0 --> corrected with dr0 = sol0.d