diff options
author | Rustan Leino <unknown> | 2013-05-30 14:17:40 -0700 |
---|---|---|
committer | Rustan Leino <unknown> | 2013-05-30 14:17:40 -0700 |
commit | ecd49b32f40d6a0683beb89a8ae7cc2ba40d853f (patch) | |
tree | 2ebe0022174a49e76c0365c8cdfc4e65378c6f1c /Source/AbsInt/IntervalDomain.cs | |
parent | 6a9e8449f14e8c3858ab0809036e68a0a43c2d4e (diff) |
Fixed bug in Interval abstract domain (pertaining to unary negation)
Diffstat (limited to 'Source/AbsInt/IntervalDomain.cs')
-rw-r--r-- | Source/AbsInt/IntervalDomain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/AbsInt/IntervalDomain.cs b/Source/AbsInt/IntervalDomain.cs index 3d83bb5c..be62eb58 100644 --- a/Source/AbsInt/IntervalDomain.cs +++ b/Source/AbsInt/IntervalDomain.cs @@ -667,7 +667,7 @@ namespace Microsoft.Boogie.AbstractInterpretation Lo = 1 - hi;
}
if (lo != null) {
- Hi = -lo;
+ Hi = 1 - lo;
}
}
else if (op.Op == UnaryOperator.Opcode.Not) {
|