aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-06-28 16:53:00 -0400
committerDeterminant <ted.sybil@gmail.com>2018-06-28 16:53:00 -0400
commitcdabab89cbe05d456273a7bd43e1f1e435a093b6 (patch)
treed57ef8be59a9cc38bf8db96d4e99865884e4fe16 /README.rst
parent924be7bb303bacae3eedd7610383e638d5b096d8 (diff)
...
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index eb1f591..68fe33a 100644
--- a/README.rst
+++ b/README.rst
@@ -35,7 +35,7 @@ Calculate the factorial of n, the hard way:
return p;
});
t.then([](std::pair<int, int> p) {
- printf("fac(%d) = %d\n", p.second, p.first);
+ printf("fac(%d) = %d\n", p.second - 1, p.first);
});
/* no actual calculation until here */
root.resolve(std::make_pair(1, 1));