diff options
-rw-r--r-- | common/router1.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/router1.cc b/common/router1.cc index c8585b0b..0ff2bedd 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -108,7 +108,6 @@ struct Router1 dict<arc_key, pool<WireId>> arc_to_wires; pool<arc_key> queued_arcs; - dict<WireId, QueuedWire> visited; std::priority_queue<QueuedWire, std::vector<QueuedWire>, QueuedWire::Greater> queue; dict<WireId, int> wireScores; @@ -503,7 +502,7 @@ struct Router1 std::priority_queue<QueuedWire, std::vector<QueuedWire>, QueuedWire::Greater> new_queue; queue.swap(new_queue); } - visited.clear(); + dict<WireId, QueuedWire> visited; // A* main loop |