Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def append(self, item):
def extend(self, items):
"""Insert each item in items at its correct position."""
for item in items:
self.heap.append(item)
self.append(item)

def pop(self):
"""Pop and return the item (with min or max f(x) value
Expand Down