Skip to content

Commit

Permalink
Update binary_heap_sort.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KPatr1ck authored Nov 27, 2018
1 parent 06ac246 commit b7664b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/28_binary_heap/binary_heap_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def sort(self, nums):
if length <= 1:
return

map(self._type_assert, nums)
self._type_assert(nums)

# heapify
self._heapify(nums, length-1)
Expand Down

0 comments on commit b7664b9

Please sign in to comment.