Skip to content

Commit

Permalink
Merge pull request #6216 from The-OpenROAD-Project-staging/drt-debug-…
Browse files Browse the repository at this point in the history
…const

drt: make global beginDebugIter & debugMazeIter const
  • Loading branch information
maliberty authored Nov 22, 2024
2 parents d7c5a8a + 22230f6 commit 17a6ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/drt/src/dr/FlexDR_maze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace drt {

namespace gtl = boost::polygon;

int beginDebugIter = std::numeric_limits<int>::max();
const int beginDebugIter = std::numeric_limits<int>::max();
static frSquaredDistance pt2boxDistSquare(const Point& pt, const Rect& box)

{
Expand Down
2 changes: 1 addition & 1 deletion src/drt/src/dr/FlexGridGraph_maze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

namespace drt {

int debugMazeIter = std::numeric_limits<int>::max();
const int debugMazeIter = std::numeric_limits<int>::max();
void FlexGridGraph::expand(FlexWavefrontGrid& currGrid,
const frDirEnum& dir,
const FlexMazeIdx& dstMazeIdx1,
Expand Down

0 comments on commit 17a6ee5

Please sign in to comment.