Skip to content

Pass total QM charge to _calculate_energy_and_gradients inside sire c…#74

Open
kzinovjev wants to merge 2 commits intochemle:develfrom
kzinovjev:devel
Open

Pass total QM charge to _calculate_energy_and_gradients inside sire c…#74
kzinovjev wants to merge 2 commits intochemle:develfrom
kzinovjev:devel

Conversation

@kzinovjev
Copy link
Contributor

Total charge was not passed to _calculate_energy_and_gradients in EMLECalculator._sire_callback, fixes it. Since the default for qm_charge is 0 in the EMLECalculator constructor, did not put any additional check for None (the only way it can become None is if someone explicitly provides it as such, which would make no sense).

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.

1 participant