We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fcd9b1 commit b13bf9fCopy full SHA for b13bf9f
src/solvers/smt2/smt2_parser.cpp
@@ -693,9 +693,9 @@ exprt smt2_parsert::function_application()
693
else if(id=="zero_extend")
694
{
695
auto width=to_unsignedbv_type(op[0].type()).get_width();
696
- unsignedbv_typet unsigned_type(width+index);
+ unsignedbv_typet unsigned_type{width + index};
697
698
- return typecast_exprt(op[0], unsigned_type);
+ return zero_extend_exprt{op[0], unsigned_type};
699
}
700
else if(id == ID_repeat)
701
0 commit comments