Skip to content

Commit

Permalink
Fixed fib in benchmark.sms
Browse files Browse the repository at this point in the history
  • Loading branch information
reginaldford committed Feb 15, 2024
1 parent c87dc6f commit 6c00add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sms_src/examples/benchmark.sms
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

let f = (n) =>
if( n <= 1 )
n
1
else
f(n - 1) + f(n - 2);
benchmark(:f(31));
Expand Down

0 comments on commit 6c00add

Please sign in to comment.