Skip to content

Commit 8aed3c6

Browse files
committed
Server utilisation, ensure doctests run
1 parent f85fe9b commit 8aed3c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ciw/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,9 @@ def wrap_up_servers(self, current_time):
432432
"""
433433
if self.c != float('Inf'):
434434
for srvr in self.servers:
435-
srvr.total_time = current_time - srvr.start_date
435+
srvr.total_time = self.increment_time(current_time, -srvr.start_date)
436436
if srvr.busy:
437-
srvr.busy_time += (current_time - srvr.cust.arrival_date)
437+
srvr.busy_time += self.increment_time(current_time, -srvr.cust.arrival_date)
438438

439439

440440
def write_individual_record(self, individual):

0 commit comments

Comments
 (0)