3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

fix sign bug in internalization of literals

This commit is contained in:
Nikolaj Bjorner 2020-12-14 17:33:14 -08:00
parent 0ef8ebe89f
commit 692bed7991
5 changed files with 30 additions and 17 deletions

View file

@ -81,6 +81,10 @@ namespace euf {
return ctx.bool_var2expr(v);
}
expr_ref th_euf_solver::literal2expr(sat::literal lit) const {
return ctx.literal2expr(lit);
}
theory_var th_euf_solver::mk_var(enode * n) {
force_push();
SASSERT(!is_attached_to_var(n));