Skip to content

Commit b681f8d

Browse files
committed
[vpr][base] fix the bug with format coordinate (3d)
1 parent c078262 commit b681f8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/base/read_route.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ static void format_coordinates(int& layer_num, int& x, int& y, std::string coord
497497
y = coords[1];
498498
} else {
499499
VTR_ASSERT(coords.size() == 3);
500-
layer_num = coords[0];
501-
x = coords[1];
502-
y = coords[2];
500+
x = coords[0];
501+
y = coords[1];
502+
layer_num = coords[2];
503503
}
504504
}
505505

0 commit comments

Comments
 (0)