mirror of
https://github.com/Z3Prover/z3
synced 2025-04-18 14:49:01 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
98bc3d392d
commit
bdf3689c6e
|
@ -178,11 +178,13 @@ namespace smt {
|
|||
expr* e = n->get_expr();
|
||||
SASSERT(bv.is_bv(e));
|
||||
auto ie = m_translator.translated(e);
|
||||
expr_ref val(m);
|
||||
rational r;
|
||||
if (bv.is_numeral(e, r))
|
||||
;
|
||||
else if (!ctx.e_internalized(ie))
|
||||
; // it is a compound expression, we don't have to evaluate it.
|
||||
else {
|
||||
expr_ref val(m);
|
||||
VERIFY(ctx.get_value(ctx.get_enode(ie), val));
|
||||
VERIFY(a.is_numeral(val, r));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue