mirror of
https://github.com/appgurueu/modlib.git
synced 2024-12-22 05:12:28 +01:00
Fix hashheap
This commit is contained in:
parent
e3ef255bf5
commit
4a9fa41827
@ -13,7 +13,7 @@ function less_than(a, b)
|
||||
end
|
||||
|
||||
--> empty, duplicate-free min heap with priority queue functionality
|
||||
function table_heap.new(less_than)
|
||||
function new(less_than)
|
||||
return setmetatable({ less_than = less_than, indices = {} }, metatable)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user