mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 01:02:15 +00:00
fix bugs, add soft timeout to opt frontend
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4f630f2a00
commit
a0b5f6937b
2 changed files with 11 additions and 3 deletions
|
@ -52,11 +52,12 @@ namespace sat {
|
|||
for (unsigned i = 0; i < r.size(); ++i) {
|
||||
literal u = r[i];
|
||||
for (unsigned j = i + 1; j < r.size(); ++j) {
|
||||
// add r[i] -> ~r[j]
|
||||
literal v = ~r[j];
|
||||
// add ~r[i] -> r[j]
|
||||
literal v = r[j];
|
||||
literal u = ~r[j];
|
||||
m_roots[v.index()] = false;
|
||||
m_dag[u.index()].push_back(v);
|
||||
// add r[j] -> ~r[i]
|
||||
// add ~r[j] -> r[i]
|
||||
v.neg();
|
||||
u.neg();
|
||||
m_roots[u.index()] = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue