Skip to content

Commit

Permalink
Kotlin: replace deprecated "reversed" with "asReversed".
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinekitty committed Oct 5, 2024
1 parent 7e83933 commit b081a5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generate/template/astronomy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b081a5c

Please sign in to comment.