Skip to content

Commit

Permalink
Fix unit conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Nov 24, 2023
1 parent 0abd6c9 commit 55c0a98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emle/sander_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ def calculate(
self.results = {
"energy": energy.tot * KCAL_MOL_TO_HARTREE,
"forces": np.array(forces).reshape((-1, 3))
* KCAL_MOL_TO_HARTREE
/ BOHR_TO_ANGSTROM,
* KCAL_MOL_TO_HARTREE * BOHR_TO_ANGSTROM,
}

@staticmethod
Expand Down

0 comments on commit 55c0a98

Please sign in to comment.