diff --git a/utils.py b/utils.py index 5d91c88ef..a514a67eb 100644 --- a/utils.py +++ b/utils.py @@ -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