Skip to content

Commit e375c41

Browse files
author
Lucas Cordeiro
committed
we need to consider lower and upper limits to support the OR operator
Signed-off-by: Lucas Cordeiro <[email protected]>
1 parent d65b9a9 commit e375c41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyses/interval_domain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ void interval_domaint::assume_rec(
429429
}
430430
else if(cond.id()==ID_or)
431431
{
432-
if(!negation)
432+
if(negation)
433433
forall_operands(it, cond)
434-
assume_rec(*it, false);
434+
assume_rec(*it, true);
435435
}
436436
}
437437

0 commit comments

Comments
 (0)