mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix none-case
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9ad17296c2
commit
f53b7aaca2
|
@ -1607,7 +1607,7 @@ namespace sat {
|
|||
}
|
||||
else {
|
||||
round_to_one(consequent.var());
|
||||
if (cnstr.tag() == pb_t) round_to_one(m_A, consequent.var());
|
||||
if (cnstr.is_pb()) round_to_one(m_A, consequent.var());
|
||||
SASSERT(validate_ineq(m_A));
|
||||
resolve_with(m_A);
|
||||
}
|
||||
|
@ -1629,8 +1629,7 @@ namespace sat {
|
|||
mark_visited(v);
|
||||
if (s().is_marked(v)) {
|
||||
int64_t c = get_coeff(v);
|
||||
if (c == 0) {
|
||||
CTRACE("ba", c != 0, active2pb(m_A); display(tout << consequent << ": ", m_A, true););
|
||||
if (c == 0 || (c < 0 == consequent.sign())) {
|
||||
s().reset_mark(v);
|
||||
--m_num_marks;
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ namespace sat {
|
|||
else if (s == "rounding")
|
||||
m_pb_resolve = PB_ROUNDING;
|
||||
else
|
||||
throw sat_param_exception("invalid PB resolve: 'cardinality' or 'resolve' expected");
|
||||
throw sat_param_exception("invalid PB resolve: 'cardinality' or 'rounding' expected");
|
||||
|
||||
s = p.pb_lemma_format();
|
||||
if (s == "cardinality")
|
||||
|
|
Loading…
Reference in a new issue