Skip to content

Commit 8e74127

Browse files
committed
vpr: Remove extra whitespace when drawing RR source/sink
1 parent 751b2d5 commit 8e74127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/draw/draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@ static void draw_get_rr_src_sink_coords(const t_rr_node& node, float* xcen, floa
22052205

22062206
*xcen = xc + 0.5 * draw_coords->get_tile_width();
22072207

2208-
float ypos = ((node.class_num() + 1) / (num_class + 2));
2208+
float ypos = ((node.class_num() + 1) / (num_class + 1));
22092209
*ycen = yc + ypos * draw_coords->get_tile_height();
22102210
}
22112211

0 commit comments

Comments
 (0)