Skip to content

Commit

Permalink
fix relevancy test
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 27, 2020
1 parent 35900ee commit df09cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/smt/theory_bv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1477,9 +1477,9 @@ namespace smt {
lbool val1 = ctx.get_assignment(bit1);
lbool val2 = ctx.get_assignment(bit2);
TRACE("bv", tout << "merge v" << v1 << " " << bit1 << ":= " << val1 << " " << bit2 << ":= " << val2 << "\n";);
if (!ctx.is_relevant(bit1))
if (val1 == l_undef && !ctx.is_relevant(bit1))
ctx.mark_as_relevant(bit1);
if (!ctx.is_relevant(bit2))
if (val2 == l_undef && !ctx.is_relevant(bit2))
ctx.mark_as_relevant(bit2);
if (val1 == val2)
continue;
Expand Down

0 comments on commit df09cb7

Please # to comment.