Skip to content

Commit

Permalink
fix #5579 -
Browse files Browse the repository at this point in the history
It is only possible to reach this case when new assertions are created.
  • Loading branch information
NikolajBjorner committed Sep 30, 2021
1 parent cbe7dd4 commit 8a85cfd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/smt/theory_special_relations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,12 @@ namespace smt {
);
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);
literal f_lit = ctx.get_literal(f_app);
switch (ctx.get_assignment(f_lit)) {
case l_true:
UNREACHABLE();
// it should already be the case that v1 and reach v2 in the graph.
// whenever f(n1, n2) is asserted.
SASSERT(new_assertion);
break;
case l_false: {
//
Expand Down

0 comments on commit 8a85cfd

Please sign in to comment.