← easystroke

stroke: fix a documentation error

1f82292e900e53187000956957efddf641354c51 · Thomas Jaeger · Jan 16, 2010 19:18

+3 −3 · 1 file changed

  • stroke.c +3 −3
diff --git a/stroke.c b/stroke.c
index 98ef7bc..554e7e0 100644
--- a/stroke.c
+++ b/stroke.c
@@ -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;