mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
parent
31a5bd7fd7
commit
28328e63fd
|
@ -657,13 +657,14 @@ private:
|
||||||
SASSERT(pos);
|
SASSERT(pos);
|
||||||
r = m.mk_true();
|
r = m.mk_true();
|
||||||
}
|
}
|
||||||
else {
|
else if ((c.is_zero() && k == GE) ||
|
||||||
SASSERT((c.is_zero() && k == GE) ||
|
(c.is_one() && k == LE)) {
|
||||||
(c.is_one() && k == LE));
|
|
||||||
// unit 0 >= x, 1 <= x
|
// unit 0 >= x, 1 <= x
|
||||||
SASSERT(pos);
|
SASSERT(pos);
|
||||||
r = mk_unit(rhs, k == GE);
|
r = mk_unit(rhs, k == GE);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
throw_non_pb(t);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw_non_pb(t);
|
throw_non_pb(t);
|
||||||
|
@ -985,7 +986,7 @@ private:
|
||||||
|
|
||||||
void throw_tactic(expr* e) {
|
void throw_tactic(expr* e) {
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
strm << "goal is in a fragment unsupported by pb2bv. Offending expression: " << mk_pp(e, m);
|
strm << "goal is in a fragment not supported by pb2bv. Offending expression: " << mk_pp(e, m);
|
||||||
throw tactic_exception(strm.str());
|
throw tactic_exception(strm.str());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue