Skip to content

Commit a20d18b

Browse files
committed
Fix minor bug
1 parent 4d50aae commit a20d18b

File tree

1 file changed

+2
-1
lines changed
  • algorithm/sorting/heap/basic

1 file changed

+2
-1
lines changed

algorithm/sorting/heap/basic/code.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ function heapSort(array, size) {
1111
temp = array[0];
1212
array[0] = array[j];
1313
array[j] = temp;
14-
14+
15+
tracer._notify(0, j);
1516
tracer._select(j);
1617

1718
heapify(array, j, 0);

0 commit comments

Comments
 (0)