Skip to content

Commit 86499a6

Browse files
authored
Merge pull request diffblue#4766 from danpoe/fixes/simplify-startswith
Check if operand is an index expr in simplify_function_application()
2 parents d841075 + 0a72c1e commit 86499a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/simplify_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ bool simplify_exprt::simplify_function_application(exprt &expr)
206206
// things that are non-constant.
207207
if(
208208
first_address_of.object().id() != ID_index ||
209-
first_address_of.object().id() != ID_index)
209+
second_address_of.object().id() != ID_index)
210210
{
211211
return true;
212212
}

0 commit comments

Comments
 (0)