mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
fix sign for binary propagation hints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bffa7ff2f6
commit
cb279fba2b
3 changed files with 8 additions and 4 deletions
|
@ -238,8 +238,8 @@ namespace arith {
|
|||
sat::proof_hint* bound_params = nullptr;
|
||||
if (ctx.use_drat()) {
|
||||
bound_params = &m_farkas2;
|
||||
m_farkas2.m_literals[0] = std::make_pair(rational(1), l1);
|
||||
m_farkas2.m_literals[1] = std::make_pair(rational(1), l2);
|
||||
m_farkas2.m_literals[0] = std::make_pair(rational(1), ~l1);
|
||||
m_farkas2.m_literals[1] = std::make_pair(rational(1), ~l2);
|
||||
}
|
||||
add_clause(l1, l2, bound_params);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue