Skip to content

Commit 9f471ae

Browse files
icembergappgurueu
andauthored
Update src/sorting/countingsort.lua
Co-authored-by: Lars Müller <[email protected]>
1 parent fbd5c22 commit 9f471ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sorting/countingsort.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ return function(
1717
end
1818

1919
local count = {}
20-
for i = 1, (max_key - min_key + 1) do
20+
for i = 1, max_key - min_key + 1 do
2121
count[i] = 0
2222
end
2323

0 commit comments

Comments
 (0)