mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 14:55:25 +00:00
fix crash bugs in sat solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c522487a86
commit
a6da207b65
10 changed files with 133 additions and 43 deletions
|
@ -64,6 +64,8 @@ namespace sat {
|
|||
SASSERT(get_literal2() == l2);
|
||||
}
|
||||
|
||||
unsigned val2() const { return m_val2; }
|
||||
|
||||
watched(literal blocked_lit, clause_offset cls_off):
|
||||
m_val1(cls_off),
|
||||
m_val2(static_cast<unsigned>(CLAUSE) + (blocked_lit.to_uint() << 2)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue