Skip to content

Commit 017abab

Browse files
clear edge_switch_offset_inf_ in RRGraphStorage
1 parent 412638f commit 017abab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/librrgraph/src/base/rr_graph_storage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ class t_rr_graph_storage {
554554
edge_src_node_.clear();
555555
edge_dest_node_.clear();
556556
edge_switch_.clear();
557+
edge_switch_offset_inf_.clear();
557558
edge_remapped_.clear();
558559
edges_read_ = false;
559560
partitioned_ = false;
@@ -588,6 +589,7 @@ class t_rr_graph_storage {
588589
edge_src_node_.shrink_to_fit();
589590
edge_dest_node_.shrink_to_fit();
590591
edge_switch_.shrink_to_fit();
592+
edge_switch_offset_inf_.shrink_to_fit();
591593
edge_remapped_.shrink_to_fit();
592594
}
593595

0 commit comments

Comments
 (0)