mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix #5579 -
It is only possible to reach this case when new assertions are created.
This commit is contained in:
parent
cbe7dd4a48
commit
8a85cfdb12
|
@ -325,14 +325,12 @@ namespace smt {
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
expr_ref f_app(m.mk_app(f, arg1, arg2), m);
|
expr_ref f_app(m.mk_app(f, arg1, arg2), m);
|
||||||
ensure_enode(f_app);
|
ensure_enode(f_app);
|
||||||
literal f_lit = ctx.get_literal(f_app);
|
literal f_lit = ctx.get_literal(f_app);
|
||||||
switch (ctx.get_assignment(f_lit)) {
|
switch (ctx.get_assignment(f_lit)) {
|
||||||
case l_true:
|
case l_true:
|
||||||
UNREACHABLE();
|
SASSERT(new_assertion);
|
||||||
// it should already be the case that v1 and reach v2 in the graph.
|
|
||||||
// whenever f(n1, n2) is asserted.
|
|
||||||
break;
|
break;
|
||||||
case l_false: {
|
case l_false: {
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue