Skip to content

Commit 17a38ce

Browse files
committed
Format
1 parent b579cbd commit 17a38ce

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

vpr/src/route/route_util.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ vtr::Matrix<float> calculate_routing_usage(t_rr_type rr_type, bool is_flat, bool
2929

3030
//Record number of used resources in each x/y channel
3131
for (RRNodeId rr_node : rr_nodes) {
32-
#ifndef NO_GRAPHICS
33-
if (!is_print) {
34-
t_draw_state* draw_state = get_draw_state_vars();
35-
int layer_num = rr_graph.node_layer(rr_node);
36-
if (!draw_state->draw_layer_display[layer_num].visible)
37-
continue; // don't count usage if layer is not visible
38-
}
39-
#endif
32+
#ifndef NO_GRAPHICS
33+
if (!is_print) {
34+
t_draw_state* draw_state = get_draw_state_vars();
35+
int layer_num = rr_graph.node_layer(rr_node);
36+
if (!draw_state->draw_layer_display[layer_num].visible)
37+
continue; // don't count usage if layer is not visible
38+
}
39+
#endif
4040

4141
if (rr_type == CHANX) {
4242
VTR_ASSERT(rr_graph.node_type(rr_node) == CHANX);

0 commit comments

Comments
 (0)