mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
adad468cd7
commit
5b2519d7a3
2 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,7 @@ namespace pb {
|
|||
if (m_pb.is_pb(e)) {
|
||||
sat::literal lit = internalize_pb(e, sign, root);
|
||||
if (m_ctx && !root && lit != sat::null_literal)
|
||||
m_ctx->attach_lit(lit, e);
|
||||
m_ctx->attach_lit(literal(lit.var(), false), e);
|
||||
return lit;
|
||||
}
|
||||
UNREACHABLE();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue