summaryrefslogtreecommitdiff
path: root/Source/AbsInt/Traverse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Source/AbsInt/Traverse.cs')
-rw-r--r--Source/AbsInt/Traverse.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/AbsInt/Traverse.cs b/Source/AbsInt/Traverse.cs
index a1e88656..633ad86e 100644
--- a/Source/AbsInt/Traverse.cs
+++ b/Source/AbsInt/Traverse.cs
@@ -88,7 +88,7 @@ namespace Microsoft.Boogie {
//PM: The folowing assumption is needed because we cannot prove that a simple field update
//PM: leaves the value of a property unchanged.
- Contract.Assume(g.labelNames == null || g.labelNames.Length == g.labelTargets.Length);
+ Contract.Assume(g.labelNames == null || g.labelNames.Count == g.labelTargets.Count);
cce.EndExpose();
} else {
Contract.Assert(b.TransferCmd == null || b.TransferCmd is ReturnCmd); // It must be a returnCmd;