Skip to content

Commit

Permalink
Update upolygon/simplify_polygon.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
simedw authored Apr 22, 2021
1 parent edd6302 commit 55ae672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upolygon/simplify_polygon.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cdef perpendicular_distance(float px, float py, float ax, float ay, float bx, fl
@cython.nonecheck(False)
def simplify_single_polygon(list path, float epsilon):
# Note that we are using an iterative version of this algorithm
# instread of the classical recursive to prevent reaching python's
# instead of the classical recursive to prevent reaching python's
# max recursion.
cdef int length = len(path) // 2
cdef int startIndex = 0
Expand Down

0 comments on commit 55ae672

Please sign in to comment.