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 6b03fac commit b75e06cCopy full SHA for b75e06c
src/solvers/smt2_incremental/convert_expr_to_smt.cpp
@@ -598,11 +598,7 @@ static smt_termt convert_expr_to_smt(
598
return convert_multiary_operator_to_terms(
599
plus, converted, smt_bit_vector_theoryt::add);
600
}
601
- else if(std::any_of(
602
- plus.operands().cbegin(),
603
- plus.operands().cend(),
604
- [](exprt operand)
605
- { return can_cast_type<pointer_typet>(operand.type()); }))
+ else if(can_cast_type<pointer_typet>(plus.type()))
606
{
607
INVARIANT(
608
plus.operands().size() == 2,
0 commit comments