|
|
@@ -764,19 +764,18 @@ class RootDEVS(BaseDEVS):
|
|
|
p.cached_routes = None
|
|
|
|
|
|
# Rebuild the routes for the affected ports
|
|
|
- for p in unique_worklist:
|
|
|
- if self.routing_mode == "memoised":
|
|
|
- for p in unique_worklist:
|
|
|
- p.cached_routes = None
|
|
|
- for p in unique_worklist:
|
|
|
- directConnectPortMem(p, self.listeners)
|
|
|
-
|
|
|
- elif self.routing_mode == "old":
|
|
|
- for p in unique_worklist:
|
|
|
- directConnectPortOLD(p, self.listeners)
|
|
|
- else:
|
|
|
- for p in unique_worklist:
|
|
|
- directConnectPort(p, self.listeners)
|
|
|
+ if self.routing_mode == "memoised":
|
|
|
+ for p in unique_worklist:
|
|
|
+ p.cached_routes = None
|
|
|
+ for p in unique_worklist:
|
|
|
+ directConnectPortMem(p, self.listeners)
|
|
|
+
|
|
|
+ elif self.routing_mode == "old":
|
|
|
+ for p in unique_worklist:
|
|
|
+ directConnectPortOLD(p, self.listeners)
|
|
|
+ else:
|
|
|
+ for p in unique_worklist:
|
|
|
+ directConnectPort(p, self.listeners)
|
|
|
|
|
|
def directConnect(self):
|
|
|
"""
|