xrange
parent
e2555b8d80
commit
70b03ad233
|
@ -23,7 +23,7 @@ def is_differentiable(path, tol=1e-8):
|
|||
def kinks(path, tol=1e-8):
|
||||
"""returns indices of segments that start on a non-differentiable joint."""
|
||||
kink_list = []
|
||||
for idx in xrange(len(path)):
|
||||
for idx in range(len(path)):
|
||||
if idx == 0 and not path.isclosed():
|
||||
continue
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue