mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-18 22:01:42 -04:00
Kotlin: replace deprecated "reversed" with "asReversed".
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user