all: reformat
This commit is contained in:
parent
9817f7c328
commit
73e6697477
1 changed files with 6 additions and 5 deletions
|
@ -69,11 +69,12 @@ class BetterShuffleOrder(private val shuffled: IntArray) : ShuffleOrder {
|
|||
}
|
||||
|
||||
val newShuffled = IntArray(shuffled.size + insertionCount)
|
||||
val pivot: Int = if (insertionIndex < shuffled.size) {
|
||||
indexInShuffled[insertionIndex]
|
||||
} else {
|
||||
indexInShuffled.size
|
||||
}
|
||||
val pivot: Int =
|
||||
if (insertionIndex < shuffled.size) {
|
||||
indexInShuffled[insertionIndex]
|
||||
} else {
|
||||
indexInShuffled.size
|
||||
}
|
||||
for (i in shuffled.indices) {
|
||||
var currentIndex = shuffled[i]
|
||||
if (currentIndex > insertionIndex) {
|
||||
|
|
Loading…
Reference in a new issue