Skip to content

Commit b65d227

Browse files
committed
Make method static. [ci skip]
1 parent ed143a0 commit b65d227

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/somd2/runner/_repex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ def get_swaps(self):
505505
"""
506506
return self._num_swaps
507507

508-
def _check_device_memory(self, index):
508+
@staticmethod
509+
def _check_device_memory(index):
509510
"""
510511
Check the memory usage of the specified CUDA device.
511512

0 commit comments

Comments
 (0)