Skip to content

Commit

Permalink
Update wtse_prelude.lua
Browse files Browse the repository at this point in the history
Fix math table missing in maxAbsFromTable abs function
  • Loading branch information
nuoun authored Dec 1, 2024
1 parent 7805b5a commit a19756c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lua/wtse_prelude.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ end
function math.maxAbsFromTable(t)
local o = 0
for i = 1, #t do
local a = abs(t[i])
local a = math.abs(t[i])
if a > o then o = a end
end
return o
Expand All @@ -115,4 +115,4 @@ end
--- END ---


return surge
return surge

0 comments on commit a19756c

Please sign in to comment.