From cdabab89cbe05d456273a7bd43e1f1e435a093b6 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 28 Jun 2018 16:53:00 -0400 Subject: ... --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.rst') 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 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)); -- cgit v1.2.3-70-g09d2