We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f85fe9b commit 8aed3c6Copy full SHA for 8aed3c6
1 file changed
ciw/node.py
@@ -432,9 +432,9 @@ def wrap_up_servers(self, current_time):
432
"""
433
if self.c != float('Inf'):
434
for srvr in self.servers:
435
- srvr.total_time = current_time - srvr.start_date
+ srvr.total_time = self.increment_time(current_time, -srvr.start_date)
436
if srvr.busy:
437
- srvr.busy_time += (current_time - srvr.cust.arrival_date)
+ srvr.busy_time += self.increment_time(current_time, -srvr.cust.arrival_date)
438
439
440
def write_individual_record(self, individual):
0 commit comments