Skip to content

Commit 679c13a

Browse files
committed
fixed assert problem
1 parent 7c21e04 commit 679c13a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

libs/librrgraph/src/utils/alloc_and_load_rr_indexed_data.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,17 +546,12 @@ static void load_rr_indexed_data_T_values(const RRGraphView& rr_graph,
546546
calculate_average_switch(rr_graph, (size_t)rr_id, avg_switch_R, avg_switch_T, avg_switch_Cinternal, num_switches, num_shorts, buffered, fan_in_list);
547547

548548
if (num_switches == 0) {
549-
<<<<<<< HEAD
550549
if (num_shorts == 0) {
551550
VTR_LOG_WARN("Node: %d with RR_type: %s at Location:%s, had no out-going switches\n", rr_id,
552551
rr_graph.node_type_string(rr_id), node_cords.c_str());
553552
}
554-
=======
555-
VTR_LOG_WARN("Node: %d with RR_type: %s at Location:%s, had no incoming switches\n", rr_id,
556-
rr_graph.node_type_string(rr_id), node_cords.c_str());
557-
>>>>>>> upstream/master
558553
continue;
559-
}
554+
}
560555
VTR_ASSERT(num_switches > 0);
561556

562557
num_nodes_of_index[cost_index]++;

0 commit comments

Comments
 (0)