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

Deprecated usage of scipy.optimize.optimize import OptimizeResult #797

Closed
vprusso opened this issue Aug 17, 2022 · 1 comment
Closed

Deprecated usage of scipy.optimize.optimize import OptimizeResult #797

vprusso opened this issue Aug 17, 2022 · 1 comment

Comments

@vprusso
Copy link

vprusso commented Aug 17, 2022

In files hartree_fock_test.py and hartree_fock.py the import pattern of

from scipy.optimize.optimize import OptimizeResult

yields the following deprecation warning:

DeprecationWarning: Please use `OptimizeResult` from the `scipy.optimize` namespace, the `scipy.optimize.optimize` namespace is deprecated.

The fix for this should simply be to alter from scipy.optimize.optimize import OptimizeResult to from scipy.optimize import OptimizeResult in both the hartree_fock.py and hartee_fock_test.py files to eliminate this warning.

fdmalone added a commit that referenced this issue Apr 21, 2023
Resolves the deprecated import of OptimizeResult from the scipy library.

Co-authored-by: Fionn Malone <[email protected]>
@fdmalone
Copy link
Collaborator

Closing following merging of #811.

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

No branches or pull requests

2 participants