diff options
author | rustanleino <unknown> | 2010-06-11 02:02:36 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-06-11 02:02:36 +0000 |
commit | fadc6a922eb99b83b898b55286e48f63ed0df751 (patch) | |
tree | 8aa3e8fa417e79fdfc96502ddcb5a5fdc13c7927 /Test/dafny1/SchorrWaite.dfy | |
parent | 9521767199e98aafb780421b859da3fb8773af42 (diff) |
Dafny: Added two additional heuristics for guessing missing loop decreases clauses (for loop guard A!=B and for loop guards with multiple conjuncts)
Diffstat (limited to 'Test/dafny1/SchorrWaite.dfy')
-rw-r--r-- | Test/dafny1/SchorrWaite.dfy | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Test/dafny1/SchorrWaite.dfy b/Test/dafny1/SchorrWaite.dfy index a46e83a3..3e64a4bd 100644 --- a/Test/dafny1/SchorrWaite.dfy +++ b/Test/dafny1/SchorrWaite.dfy @@ -64,7 +64,6 @@ class Main { invariant (forall n :: n in S ==>
n.childrenVisited == old(n.childrenVisited) &&
n.children == old(n.children));
- decreases |root.children| - i;
{
var c := root.children[i];
if (c != null) {
|