Do not crash cap sim graph when there're no drains
This commit is contained in:
@@ -141,6 +141,9 @@ class CapSimulator:
|
||||
awaitingInjectorsCounterWrap = Counter()
|
||||
self.reset()
|
||||
|
||||
#if len(self.state) == 0:
|
||||
|
||||
|
||||
push = heapq.heappush
|
||||
pop = heapq.heappop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user