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

Clean up approximation code #245

Merged
merged 8 commits into from Feb 23, 2022
Merged

Clean up approximation code #245

merged 8 commits into from Feb 23, 2022

Conversation

hannobraun
Copy link
Owner

This is a round of cleanups of the approximation code, which has been enabled by other recent cleanups (namely #193 and #244). I'm working on improvements to the approximation code that are necessary for #97, and these cleanups will make that a bit easier.

I'm going to use it in unit tests.
This is simpler and less error-prone that what was there previously.
This is simpler and less error-prone than what was there previously.
This addresses part of #240.

This required a modification to the approximation test suite, which had
some redundant checking code. I will follow this up with a cleanup in
the next commit, to remove the redundancy.
It doesn't check very much any more, after the latest round of cleanups.
What it does check, should be well-covered by the existing unit tests,
so there's not much point in keeping it around.
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.

None yet

1 participant