Skip to content

Commit 295f012

Browse files
author
NewtonCrosby
committed
Fixes mypy error
1 parent d8384c7 commit 295f012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands2/trapezoidprofilesubsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def setGoal(self, goal: Union[TrapezoidProfile.State, float]):
5959
can either be a `TrapezoidProfile.State` or `float`. If float is provided,
6060
the assumed velocity for the goal will be 0.
6161
"""
62-
newGoal: TrapezoidProfile.State = goal
62+
newGoal = goal
6363
# If we got a float, instantiate the state
6464
if isinstance(goal, float):
6565
newGoal = TrapezoidProfile.State(goal, 0)

0 commit comments

Comments
 (0)