Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/solvers/smt2/smt2_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3560,9 +3560,11 @@
{
const typet &op_type=expr.op0().type();

if(op_type.id()==ID_unsignedbv ||
op_type.id()==ID_bv)
if(
op_type.id() == ID_unsignedbv || op_type.id() == ID_bv ||
op_type.id() == ID_range)
{
// The range type is encoded in binary

Check warning on line 3567 in src/solvers/smt2/smt2_conv.cpp

View check run for this annotation

Codecov / codecov/patch

src/solvers/smt2/smt2_conv.cpp#L3567

Added line #L3567 was not covered by tests
out << "(";
if(expr.id()==ID_le)
out << "bvule";
Expand Down
Loading