From a20d18be3de12acebe43ac08e906bb5a137bbb0e Mon Sep 17 00:00:00 2001 From: thinker3197 Date: Sun, 22 May 2016 20:12:18 +0530 Subject: [PATCH] Fix minor bug --- algorithm/sorting/heap/basic/code.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/algorithm/sorting/heap/basic/code.js b/algorithm/sorting/heap/basic/code.js index fbd2e82e..f03523c4 100644 --- a/algorithm/sorting/heap/basic/code.js +++ b/algorithm/sorting/heap/basic/code.js @@ -11,7 +11,8 @@ function heapSort(array, size) { temp = array[0]; array[0] = array[j]; array[j] = temp; - + + tracer._notify(0, j); tracer._select(j); heapify(array, j, 0);