Skip to content

Gqueran/exercises#2

Open
gabriellequeran wants to merge 23 commits intoalbop:mainfrom
gabriellequeran:gqueran/exercises
Open

Gqueran/exercises#2
gabriellequeran wants to merge 23 commits intoalbop:mainfrom
gabriellequeran:gqueran/exercises

Conversation

@gabriellequeran
Copy link
Contributor

The function Xi has some problems because when run twice, with a single y, the results are different.

@albop
Copy link
Owner

albop commented May 19, 2022

Looks like an issue with the Dolo.set_calibration! method . Cf following code:

hmodel = Dolark.HModel("models/ayiagari.yaml")

println(hmodel.agent.exogenous.process_1)

Dolo.set_calibration!(hmodel.agent; r=r0+3e-2, w=w0+1e-3)
println(hmodel.agent.exogenous.process_1) # that is identical but it should be different

Dolo.set_calibration!(hmodel.agent; r=r0+3e-2, w=w0+1e-3)
println(hmodel.agent.exogenous.process_1) # now, *this* is different

@albop
Copy link
Owner

albop commented May 19, 2022

I think this is now fixed in Dolo/main

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants