Skip to content

Commit 59c2c71

Browse files
change the order of args in t_2D_bb constructor to be consistent with vtr::Rect
1 parent 1758de3 commit 59c2c71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/base/vpr_types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,19 +624,19 @@ struct t_bb {
624624
*/
625625
struct t_2D_bb {
626626
t_2D_bb() = default;
627-
t_2D_bb(int xmin_, int xmax_, int ymin_, int ymax_, int layer_num_)
627+
t_2D_bb(int xmin_, int ymin_, int xmax_, int ymax_, int layer_num_)
628628
: xmin(xmin_)
629-
, xmax(xmax_)
630629
, ymin(ymin_)
630+
, xmax(xmax_)
631631
, ymax(ymax_)
632632
, layer_num(layer_num_) {
633633
VTR_ASSERT(xmax_ >= xmin_);
634634
VTR_ASSERT(ymax_ >= ymin_);
635635
VTR_ASSERT(layer_num_ >= 0);
636636
}
637637
int xmin = OPEN;
638-
int xmax = OPEN;
639638
int ymin = OPEN;
639+
int xmax = OPEN;
640640
int ymax = OPEN;
641641
int layer_num = OPEN;
642642
};

0 commit comments

Comments
 (0)