summaryrefslogtreecommitdiff
path: root/Test/dafny1/TerminationDemos.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny1/TerminationDemos.dfy')
-rw-r--r--Test/dafny1/TerminationDemos.dfy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny1/TerminationDemos.dfy b/Test/dafny1/TerminationDemos.dfy
index 49f5a075..0aa36a10 100644
--- a/Test/dafny1/TerminationDemos.dfy
+++ b/Test/dafny1/TerminationDemos.dfy
@@ -58,10 +58,10 @@ class Ackermann {
if (m == 0) {
r := n + 1;
} else if (n == 0) {
- call r := ComputeAck(m - 1, 1);
+ r := ComputeAck(m - 1, 1);
} else {
- call s := ComputeAck(m, n - 1);
- call r := ComputeAck(m - 1, s);
+ var s := ComputeAck(m, n - 1);
+ r := ComputeAck(m - 1, s);
}
}
}