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

Separate strategies from priors and corrections #797

Merged
merged 24 commits into from
Oct 26, 2024

Conversation

pnkraemer
Copy link
Owner

@pnkraemer pnkraemer commented Oct 26, 2024

Instead of constructing a solver as solver(strategy(prior, correction)), we now construct a solver as solver(strategy, prior, correction). This is better because it discouples strategies from priors and corrections and because it removes code complexity from the source.

The diff should make it really obvious how to update the code. As usual, all examples are updated.

This change is not backwards compatible.

@pnkraemer pnkraemer merged commit 4e0af24 into main Oct 26, 2024
6 checks passed
@pnkraemer pnkraemer deleted the merge-solver-and-strategy-class branch October 26, 2024 11:03
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.

1 participant