txgraph: reset quality when merging clusters (bugfix)
This commit is contained in:
1 parent
e72cb20c3f
commit
fad0eb091e
1 file changed
+5
@@ -1108,6 +1108,11 @@ void Cluster::ApplyDependencies(TxGraphImpl& graph, std::span<std::pair<GraphInd
|
|||||||
// linearization, and post-linearize it to fix up the worst problems with it.
|
// linearization, and post-linearize it to fix up the worst problems with it.
|
||||||
FixLinearization(m_depgraph, m_linearization);
|
FixLinearization(m_depgraph, m_linearization);
|
||||||
PostLinearize(m_depgraph, m_linearization);
|
PostLinearize(m_depgraph, m_linearization);
|
||||||
|
Assume(!NeedsSplitting());
|
||||||
|
Assume(!IsOversized());
|
||||||
|
if (IsAcceptable()) {
|
||||||
|
graph.SetClusterQuality(m_level, m_quality, m_setindex, QualityLevel::NEEDS_RELINEARIZE);
|
||||||
|
}
|
||||||
|
|
||||||
// Finally push the changes to graph.m_entries.
|
// Finally push the changes to graph.m_entries.
|
||||||
Updated(graph);
|
Updated(graph);
|
||||||
|
|||||||
Reference in new issue
Block a user