Skip to content

Commit

Permalink
Update FeatureSort.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Jan 5, 2021
1 parent 1d5c6e8 commit 24d25aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sorts/distribute/FeatureSort.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ public void sortSubList(ArrayList<Integer> subList, int start, int[] mainArray)

public void featureSort(int[] array, int currentLength) {
double max = Reads.analyzeMax(array, currentLength, 0.25, true);
@SuppressWarnings("unchecked")
ArrayList<Integer>[] pos = new ArrayList[currentLength];
double posConstant = max / (currentLength + 4);
for (int i = 0; i < currentLength; i++) {
Expand Down

0 comments on commit 24d25aa

Please sign in to comment.