Remove inorder

This commit is contained in:
Pyrex 2023-01-02 20:00:02 -08:00
parent 9b1fc9ac94
commit 617e7b3948

View File

@ -122,15 +122,6 @@ function sgn0(x)
return x!=0 and sgn(x) or 0
end
function inorder(tbl)
local prev
for v in all(tbl) do
if (prev and v < prev) return
prev = v
end
return true
end
function _mnmx(x,y)
if (x>y)return y,x
return x,y