Merge pull request #276 from povik/no-spurious-levelize

Avoid spurious clean slate levelization
This commit is contained in:
Matt Liberty 2025-08-06 17:39:29 +00:00 committed by GitHub
commit cae78892a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
#include <algorithm> #include <algorithm>
#include <deque> #include <deque>
#include <limits>
#include "Report.hh" #include "Report.hh"
#include "Debug.hh" #include "Debug.hh"
@ -51,7 +52,7 @@ Levelize::Levelize(StaState *sta) :
levels_valid_(false), levels_valid_(false),
max_level_(0), max_level_(0),
level_space_(10), level_space_(10),
max_incremental_level_(100), max_incremental_level_(std::numeric_limits<size_t>::max()),
roots_(graph_), roots_(graph_),
relevelize_from_(graph_), relevelize_from_(graph_),
observer_(nullptr) observer_(nullptr)