Skip to content

Commit fad0eb0

Browse files
committed
txgraph: reset quality when merging clusters (bugfix)
1 parent e72cb20 commit fad0eb0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/txgraph.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,11 @@ void Cluster::ApplyDependencies(TxGraphImpl& graph, std::span<std::pair<GraphInd
11081108
// linearization, and post-linearize it to fix up the worst problems with it.
11091109
FixLinearization(m_depgraph, m_linearization);
11101110
PostLinearize(m_depgraph, m_linearization);
1111+
Assume(!NeedsSplitting());
1112+
Assume(!IsOversized());
1113+
if (IsAcceptable()) {
1114+
graph.SetClusterQuality(m_level, m_quality, m_setindex, QualityLevel::NEEDS_RELINEARIZE);
1115+
}
11111116

11121117
// Finally push the changes to graph.m_entries.
11131118
Updated(graph);

0 commit comments

Comments
 (0)