Skip to content

Commit a1e375d

Browse files
author
David Butterworth
committed
Fix indentation in CheckJointLimits()
1 parent 48859fa commit a1e375d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prpy/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -937,8 +937,8 @@ def CheckJointLimits(robot, q):
937937
active_dof_indices = robot.GetActiveDOFIndices()
938938

939939
if len(q) != len(active_dof_indices):
940-
raise ValueError('The number of joints in the configuration q '
941-
'is not equal to the number of active DOF.')
940+
raise ValueError('The number of joints in the configuration q '
941+
'is not equal to the number of active DOF.')
942942

943943
lower_position_violations = (q < q_limit_min)
944944
if lower_position_violations.any():

0 commit comments

Comments
 (0)