Kotlin: replace deprecated "reversed" with "asReversed".

This commit is contained in:
Don Cross
2024-10-05 12:11:50 -04:00
parent 7e83933db9
commit b081a5cc28
2 changed files with 2 additions and 2 deletions

View File

@@ -3666,7 +3666,7 @@ private fun getPlutoSegment(tt: Double): List<BodyGravCalc>? {
}
add(seg[0])
}.reversed()
}.asReversed()
// Fade-mix the two series so that there are no discontinuities.
for (i in (PLUTO_NSTEPS-2) downTo 1) {

View File

@@ -3666,7 +3666,7 @@ private fun getPlutoSegment(tt: Double): List<BodyGravCalc>? {
}
add(seg[0])
}.reversed()
}.asReversed()
// Fade-mix the two series so that there are no discontinuities.
for (i in (PLUTO_NSTEPS-2) downTo 1) {