mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-10 04:57:06 +01:00
small bugfix
This commit is contained in:
@@ -75,7 +75,8 @@ class Scheduler(object):
|
||||
if(entry.TP.values[0] == 0):
|
||||
t_all = ()
|
||||
if(variations == 1):
|
||||
occ_ports[i] = [entry.TP.values[0] for x in range(self.ports)]
|
||||
for j in tup[0]:
|
||||
occ_ports[i][j] = entry.TP.values[0]
|
||||
else:
|
||||
for j in range(0, self.ports):
|
||||
occ_ports[i][j] = t_all.count(j) / variations
|
||||
|
||||
Reference in New Issue
Block a user