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

Deprecation warning #566

Closed
NAThompson opened this issue May 20, 2024 · 1 comment · Fixed by #568
Closed

Deprecation warning #566

NAThompson opened this issue May 20, 2024 · 1 comment · Fixed by #568

Comments

@NAThompson
Copy link
Contributor

While using this library, I get the following warning:

~/lib/python3.12/site-packages/smt/utils/linear_solvers.py:304: DeprecationWarning: 'scipy.sparse.linalg.cg' keyword argument `tol` is deprecated in favor of `rtol` and will be removed in SciPy v1.14.0. Until then, if set, it will override `rtol`.
    tmp, _ = self.solver(

Looks like the offending line is

"tol": self.options["atol"],

and that this could actually lead to breakages.

@relf
Copy link
Member

relf commented May 22, 2024

Seems we will have a problem when scipy 1.14 is out. Thanks for the heads up!

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.

2 participants