diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fib.c b/examples/fib.c index 0c94673..fc03fbb 100644 --- a/examples/fib.c +++ b/examples/fib.c @@ -21,7 +21,7 @@ void process() char *fib = csx_name("fib"); char *num = csx_name("num"); csx_eval(l(define, fib, l(fn, l(num, 0), - l(csx_if, l(inc, num, n(2), 0), n(1), + l(csx_if, l(inc, num, n(3), 0), n(1), l(sum, l(fib, l(diff, num, n(1), 0), 0), l(fib, l(diff, num, n(2), 0), 0), |