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

makeEulerErrorFunc never used #892

Closed
sbenthall opened this issue Dec 24, 2020 · 3 comments
Closed

makeEulerErrorFunc never used #892

sbenthall opened this issue Dec 24, 2020 · 3 comments

Comments

@sbenthall
Copy link
Contributor

makeEulerErrorFunc is defined for many models, but never called or tested.

https://github.com/econ-ark/HARK/search?q=makeEulerErrorFunc&type=code

Should this code be removed?

Alternatively, can it be rewritten more simply using calcExpectations? See #625

@sbenthall sbenthall added this to the 1.0.0 milestone Dec 24, 2020
@mnwhite
Copy link
Contributor

mnwhite commented Dec 25, 2020 via email

@sbenthall
Copy link
Contributor Author

I see now that it contains redundant information with the solution code.

I'm trying to figure out how to consolidate the solution code use calcExpectations. See #893

I would rather rewrite the solution code to use a well-contained euler function than remove the well-contained euler function. But I think the redundant information should be removed.

I think we are closer to a 'magic' version than you might think, but the first step is to tighten what's already there.

@sbenthall
Copy link
Contributor Author

Add a note in the documentation explaining why this method is here.
Suggesting that it's used for testing and benchmarking other implementations of the solver or model...

sbenthall added a commit that referenced this issue Jan 20, 2021
documented the role of makeEulerErrorFunc. Fixes #892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants