Skip to content

PySCF wrapper does not reset molecule when used as scanner #247

Closed

Description

@awvwgk

The current d3_energy, d3_grad and d3_hess wrappers do not patch the mean-field class to include the reset of the dispersion correction if the molecule changes, e.g. when used in an energy or gradient scanner.

Fix include a patch to the reset method to call with_dftd3.reset(mol) to ensure molecule objects stay consistent.

ping @CW-Huang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions