From b65fd7b965de4592fd3ce24ea8006fbec9b1c0fb Mon Sep 17 00:00:00 2001 From: Richik SC Date: Thu, 17 Jun 2021 19:35:08 -0500 Subject: [PATCH] Make overriden parameter name match in Pose2dWithCurvature --- .../kotlin/com/team254/lib/geometry/Pose2dWithCurvature.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/com/team254/lib/geometry/Pose2dWithCurvature.kt b/src/commonMain/kotlin/com/team254/lib/geometry/Pose2dWithCurvature.kt index 83d26ab..fdc0e07 100644 --- a/src/commonMain/kotlin/com/team254/lib/geometry/Pose2dWithCurvature.kt +++ b/src/commonMain/kotlin/com/team254/lib/geometry/Pose2dWithCurvature.kt @@ -51,8 +51,8 @@ class Pose2dWithCurvature : IPose2d, override val pose: Pose2d get() = pose_ - override fun transformBy(transform: Pose2d): Pose2dWithCurvature { - return Pose2dWithCurvature(pose.transformBy(transform), curvature, dCurvatureDs) + override fun transformBy(other: Pose2d): Pose2dWithCurvature { + return Pose2dWithCurvature(pose.transformBy(other), curvature, dCurvatureDs) } override fun mirror(): Pose2dWithCurvature {