Skip to content

Commit dda1dd5

Browse files
committed
[libs][rrgraph] remove redundant function call
1 parent 3da38b0 commit dda1dd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/librrgraph/src/io/rr_graph_uxsdcxx_serializer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,6 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
896896
*/
897897
inline void preallocate_rr_nodes_node(void*& /*ctx*/, size_t size) final {
898898
rr_graph_builder_->reserve_nodes(size);
899-
rr_graph_builder_->resize_node_ptc_nums(size);
900899
}
901900
inline int add_rr_nodes_node(void*& /*ctx*/, unsigned int capacity, unsigned int id, uxsd::enum_node_type type) final {
902901
// make_room_in_vector will not allocate if preallocate_rr_nodes_node
@@ -1195,7 +1194,7 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
11951194
most_frequent_switch.first = switch_id;
11961195
most_frequent_switch.second = count_for_wire_to_ipin_switches[switch_id];
11971196
}
1198-
} else{
1197+
} else {
11991198
VTR_ASSERT(rr_graph.node_layer_low(RRNodeId(sink_node)) != rr_graph.node_layer_low(RRNodeId(source_node)));
12001199
count_for_wire_to_ipin_switches_between_dice[switch_id]++;
12011200
if(count_for_wire_to_ipin_switches_between_dice[switch_id] > most_frequent_switch_between_dice.second){

0 commit comments

Comments
 (0)