Skip to content

Commit dbb7e7b

Browse files
committed
fixed bug in cpucount
1 parent f7823ac commit dbb7e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sams/sampler/SlurmCGroup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _cpucount(count) -> int:
105105
m = re.search(r'^(\d+)$', c)
106106
if m:
107107
cpu_count += 1
108-
return cpu_count
108+
return cpu_count
109109

110110
def read_cgroup(self, type, id) -> str:
111111
try:

0 commit comments

Comments
 (0)