We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c78fa commit bf019c1Copy full SHA for bf019c1
src/algorithms/controllers/msort_arr_bup.js
@@ -383,7 +383,7 @@ export function run_msort() {
383
384
}
385
//vis.arrayC.set(c, 'msort_arr_bup');
386
- vis.array.setList(runlength);
+ //vis.array.setList(runlength);
387
388
//set_simple_stack(vis.arrayB, runlength);
389
//vis.array.showKth(runlength);
@@ -657,7 +657,7 @@ export function run_msort() {
657
/*for (let i = pre_left; i <= pre_right; i++) {
658
unhighlight(vis, i, false);
659
}*/
660
- if (left < size) {
+ if (cur_left < size) {
661
assignVarToA(vis, 'left', cur_left);
662
663
/*for (let i = left; i <= left + runlength - 1; i++) {
0 commit comments