We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11cad42 commit b28de14Copy full SHA for b28de14
janus_core/calculations/phonons.py
@@ -1003,7 +1003,7 @@ def _calc_forces(self, struct: PhonopyAtoms) -> ndarray:
1003
ndarray
1004
Forces on the structure.
1005
"""
1006
- return PhonopyAtomsAdaptor.get_atoms(struct).get_forces()
+ return PhonopyAtomsAdaptor.get_atoms(struct, self.calc).get_forces()
1007
1008
def run(self) -> None:
1009
"""Run phonon calculations."""
0 commit comments