Skip to content

Commit

Permalink
Bug Fix with Sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikasht34 committed Aug 3, 2024
1 parent e680090 commit 20c8e7d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ private int[] reservoirSampleIndices(final int numVectors, final int sampleSize)
indices[j] = i;
}
}
// If sorted indices are required, uncomment the following line
// Arrays.sort(indices);
Arrays.sort(indices);
return indices;
}
}

0 comments on commit 20c8e7d

Please sign in to comment.