Skip to content

Commit e059490

Browse files
committed
interval_abstract_value::output fix displaying upper limit when lower is -INF
1 parent 826326f commit e059490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/variable-sensitivity/interval_abstract_value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ void interval_abstract_valuet::output(
332332
else
333333
{
334334
INVARIANT(
335-
interval.get_lower().id() == ID_constant,
335+
interval.get_upper().id() == ID_constant,
336336
"We only support constant limits");
337337
upper_string =
338338
id2string(to_constant_expr(interval.get_upper()).get_value());

0 commit comments

Comments
 (0)