Fixed a bug in the swapping of index values in the RandUtils pairedShuffleIndexes method.
@@ -173,7 +173,7 @@ public final class RandUtils {
tempIndex = indexes[i];
indexes[i] = indexes[swapIndex];
- indexes[swapIndex] = indexes[i];
+ indexes[swapIndex] = tempIndex;
}
}
}
