mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fix #6623
This commit is contained in:
parent
e6ea81546e
commit
4a142b0f81
3 changed files with 15 additions and 4 deletions
|
@ -41,6 +41,11 @@ namespace pb {
|
|||
SASSERT(m_pb.is_pb(e));
|
||||
app* t = to_app(e);
|
||||
rational k = m_pb.get_k(t);
|
||||
if (!root && is_app(e)) {
|
||||
sat::literal lit = si.get_cached(to_app(e));
|
||||
if (lit != sat::null_literal)
|
||||
return sign ? ~lit : lit;
|
||||
}
|
||||
switch (t->get_decl_kind()) {
|
||||
case OP_AT_MOST_K:
|
||||
return convert_at_most_k(t, k, root, sign);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue