3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-03 12:23:54 -07:00
parent cd2f6705aa
commit f92c6ad170

View file

@ -571,6 +571,9 @@ namespace smt {
context& ctx = get_context();
if (r.is_zero()) {
v = get_zero(n);
if (!ctx.e_internalized(n)) {
v = null_theory_var;
}
}
else if (ctx.e_internalized(n)) {
enode* e = ctx.get_enode(n);