Skip to content

Commit ac5fbf5

Browse files
committed
change to no STEP_LIMIT for ShellSort
1 parent 2cb7c22 commit ac5fbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/moritzf/sorting/logic/sorting/ShellSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ShellSort extends SortingAlgorithm {
2929

3030
private static final String NAME = "Shellsort";
3131

32-
private static final int STEP_LIMIT = 20;
32+
private static final int STEP_LIMIT = -1;
3333

3434
private ArrayList<ShellStep> protocol = new ArrayList<>();
3535

0 commit comments

Comments
 (0)