aboutsummaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.cpp b/test.cpp
index 7fa7f60..5d2e4a5 100644
--- a/test.cpp
+++ b/test.cpp
@@ -40,7 +40,7 @@ void test_fac() {
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);
});
root.resolve(std::make_pair(1, 1));
}