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

Fix tol option deprecation in scipy solvers #568

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

relf
Copy link
Member

@relf relf commented May 22, 2024

fixes #566

@relf relf merged commit 998f352 into SMTorg:master May 22, 2024
11 checks passed
@@ -264,24 +264,44 @@ def _setup(self, mtx, printer, mg_matrices=[]):
self.callback_func = self.callback._print_sol
self.solver_kwargs = {
"atol": 0.0,
"tol": self.options["atol"],
"rtol": self.options["atol"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@relf : Is there a typo here? You're assigning a absolute tolerance to a relative tolerance.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 0605476. Forgot this one, thanks! (I think we never use/change these options at all in SMT)

relf added a commit to relf/smt that referenced this pull request May 23, 2024
@relf relf deleted the patch-scipy111 branch May 23, 2024 08:08
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.

Deprecation warning
2 participants