Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor MrkvNow into model state variable in ConsAggShockModel #933

Closed
sbenthall opened this issue Jan 27, 2021 · 1 comment · Fixed by #935
Closed

refactor MrkvNow into model state variable in ConsAggShockModel #933

sbenthall opened this issue Jan 27, 2021 · 1 comment · Fixed by #935
Milestone

Comments

@sbenthall
Copy link
Contributor

In ConsAggShockModel, the model variable MrkvNow is currently stored as an object attribute.

Is it a state? A shock?

Either way, it should be changed into a namespaced variable for consistency with the new style.

@sbenthall
Copy link
Contributor Author

Ah. So one reason this has not been refactored before is that it looks like the MrkvNow property in ConsAggShockModel is an aggregate level variable.

See the discussion here:
#761 (comment)

It also looks like this is handled slightly differentling in the ConsMarkovAggShockModel and the KrusselSmithModel

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 a pull request may close this issue.

1 participant