all: reformat

This commit is contained in:
Alexander Capehart 2024-02-28 22:27:25 -07:00
parent 9817f7c328
commit 73e6697477
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -69,7 +69,8 @@ class BetterShuffleOrder(private val shuffled: IntArray) : ShuffleOrder {
}
val newShuffled = IntArray(shuffled.size + insertionCount)
val pivot: Int = if (insertionIndex < shuffled.size) {
val pivot: Int =
if (insertionIndex < shuffled.size) {
indexInShuffled[insertionIndex]
} else {
indexInShuffled.size