3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-02 21:31:01 -07:00
parent 64a0e62648
commit c431a100b7

View file

@ -146,7 +146,10 @@ namespace smt {
SASSERT(m_autil.is_le(n) || m_autil.is_ge(n));
app * lhs = to_app(n->get_arg(0));
app * rhs = to_app(n->get_arg(1));
SASSERT(m_autil.is_numeral(rhs));
if (!m_autil.is_numeral(rhs)) {
found_non_diff_logic_expr(n);
return false;
}
rational _k;
m_autil.is_numeral(rhs, _k);
numeral offset(_k);