diff --git a/Tools/SpeedTest/fib.fig b/Tools/SpeedTest/fib.fig index 4e19409..2f36a15 100644 --- a/Tools/SpeedTest/fib.fig +++ b/Tools/SpeedTest/fib.fig @@ -1,4 +1,4 @@ -fun fib(x:Int) -> Int +func fib(x:Int) -> Int { if (x <= 1) { diff --git a/Tools/SpeedTest/fibLoopTest.fig b/Tools/SpeedTest/fibLoopTest.fig index 10a7bf6..676f316 100644 --- a/Tools/SpeedTest/fibLoopTest.fig +++ b/Tools/SpeedTest/fibLoopTest.fig @@ -1,5 +1,5 @@ var callCnt:Int = 0; -fun fib(x:Int) -> Int +func fib(x:Int) -> Int { callCnt = callCnt + 1; if (x <= 1)