Skip to content

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

Closed
@vprusso

Description

@vprusso

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions