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 89fa27c commit ce97967Copy full SHA for ce97967
src/solvers/smt2/smt2_conv.cpp
@@ -1441,8 +1441,7 @@ void smt2_convt::convert_expr(const exprt &expr)
1441
// the arguments of the shift need to have the same width
1442
out << "(bvlshr ";
1443
flatten2bv(extractbit_expr.src());
1444
- typecast_exprt tmp(extractbit_expr.src().type());
1445
- tmp.op0() = extractbit_expr.index();
+ typecast_exprt tmp(extractbit_expr.index(), extractbit_expr.src().type());
1446
convert_expr(tmp);
1447
out << ")) bin1)"; // bvlshr, extract, =
1448
}
0 commit comments