diff --git a/src/threads/RunQuickSorts.java b/src/threads/RunQuickSorts.java index 34d9c658..a8e981ce 100644 --- a/src/threads/RunQuickSorts.java +++ b/src/threads/RunQuickSorts.java @@ -45,7 +45,7 @@ public RunQuickSorts(ArrayVisualizer arrayVisualizer) { @Override protected synchronized void executeSortList(int[] array) throws Exception { - RunQuickSorts.this.runIndividualSort(CubeRootQuickSort, 0, array, 2048, 1, false); + RunQuickSorts.this.runIndividualSort(CubeRootQuickSort, 0, array, 2048, arrayManager.getShuffle() == Shuffles.RANDOM ? 1 : 6.5, false); } @Override