Skip to content

Commit

Permalink
Change type of work_done to float
Browse files Browse the repository at this point in the history
  • Loading branch information
hjstroud committed Sep 2, 2024
1 parent d42f0fa commit 54f23b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-libraries/nanover-omni/src/nanover/omni/openmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class OpenMMSimulationWorkDone(OpenMMSimulation):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.work_done: int = 0
self.work_done: float = 0.0
self.prev_imd_forces: Optional[np.ndarray] = None
self.prev_imd_indices: Optional[np.ndarray] = None

Expand Down

0 comments on commit 54f23b0

Please sign in to comment.