stroke: fix a documentation error
+3 −3 · 1 file changed
-
stroke.c+3 −3
@@ -134,9 +134,9 @@ double stroke_angle_difference(const stroke_t *a, const stroke_t *b, int i, int } /* To compare two gestures, we use dynamic programming to minimize (an - * approximation) of the integral over the absolute value of the angle - * difference among (roughly) all reparametrizations whose slope is always - * between 1/2 and 2. */ + * approximation) of the integral over square of the angle difference among + * (roughly) all reparametrizations whose slope is always between 1/2 and 2. + */ double stroke_compare(const stroke_t *a, const stroke_t *b, int *path_x, int *path_y) { int m = a->n - 1; int n = b->n - 1;