From 55ae672833949e1ffcd9fa617258a26f4f0daed4 Mon Sep 17 00:00:00 2001 From: Simon Edwardsson Date: Thu, 22 Apr 2021 13:14:24 +0100 Subject: [PATCH] Update upolygon/simplify_polygon.pyx --- upolygon/simplify_polygon.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upolygon/simplify_polygon.pyx b/upolygon/simplify_polygon.pyx index e8d5fd0..51dbf3a 100644 --- a/upolygon/simplify_polygon.pyx +++ b/upolygon/simplify_polygon.pyx @@ -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