mirror of
https://github.com/Z3Prover/z3
synced 2025-10-12 02:38:07 +00:00
fix crash reported in #784
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
865c0c0109
commit
e0613b6737
2 changed files with 6 additions and 0 deletions
|
@ -3078,6 +3078,10 @@ namespace sat {
|
|||
m_binary_clause_graph[l1.index()].push_back(l2);
|
||||
m_binary_clause_graph[l2.index()].push_back(l1);
|
||||
}
|
||||
for (unsigned i = 0; i < lits.size(); ++i) {
|
||||
m_binary_clause_graph.reserve(lits[i].index() + 1);
|
||||
m_binary_clause_graph.reserve((~lits[i]).index() + 1);
|
||||
}
|
||||
bool non_empty = true;
|
||||
m_seen[0].reset();
|
||||
while (non_empty) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue