diff --git a/benchmarks/conway/lua.lua b/benchmarks/conway/lua.lua index e23bdf17..01cec8a5 100644 --- a/benchmarks/conway/lua.lua +++ b/benchmarks/conway/lua.lua @@ -1,7 +1,7 @@ -local m, ALIVE, DEAD;m = {} +math.ln = math.log; local m = {} -ALIVE = "*" -DEAD = " " +local ALIVE = "*" +local DEAD = " " -- Create a new grid for the simulation. function m.new_canvas(N, M) diff --git a/benchmarks/fannkuchredux/lua.lua b/benchmarks/fannkuchredux/lua.lua index 76d437d0..fd684164 100644 --- a/benchmarks/fannkuchredux/lua.lua +++ b/benchmarks/fannkuchredux/lua.lua @@ -1,4 +1,4 @@ -local m = {} +math.ln = math.log; local m = {} function m.fannkuch(N)