Skip to content

Commit 167e21c

Browse files
authored
Merge pull request #7067 from tautschnig/bugfixes/representation-enum
bv_utils: add missing representationt::
2 parents ab93180 + 7ca319a commit 167e21c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solvers/flattening/bv_utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ literalt bv_utilst::lt_or_le(
12311231
compareBelow = prop.new_variables(bv0.size());
12321232
result = prop.new_variable();
12331233

1234-
if(rep==SIGNED)
1234+
if(rep == representationt::SIGNED)
12351235
{
12361236
INVARIANT(
12371237
bv0.size() >= 2, "signed bitvectors should have at least two bits");
@@ -1332,7 +1332,7 @@ literalt bv_utilst::unsigned_less_than(
13321332
const bvt &op1)
13331333
{
13341334
#ifdef COMPACT_LT_OR_LE
1335-
return lt_or_le(false, op0, op1, UNSIGNED);
1335+
return lt_or_le(false, op0, op1, representationt::UNSIGNED);
13361336
#else
13371337
// A <= B iff there is an overflow on A-B
13381338
return !carry_out(op0, inverted(op1), const_literal(true));

0 commit comments

Comments
 (0)