Skip to content

Commit

Permalink
corrected mypy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Drenayaz committed Feb 8, 2024
1 parent 35cbd4b commit 6b65346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reachy2_symbolic_ik/symbolic_ik.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def is_reachable(self, goal_pose: npt.NDArray[np.float64]) -> Tuple[bool, npt.ND
if intersection_circle is not None:
self.intersection_circle = intersection_circle
intervalle = self.are_circles_linked(intersection_circle, limitation_wrist_circle)
if intervalle != []:
if len(intervalle) > 0:
if SHOW_GRAPH:
elbow_position = self.get_coordinate_cercle(intersection_circle, intervalle[0])
self.show_point(elbow_position, "r")
Expand Down

0 comments on commit 6b65346

Please sign in to comment.