colors

extract colors from pictures
git clone git://git.2f30.org/colors
Log | Files | Refs | README | LICENSE

commit b4522641c87e626efb4785fb99996dada91f7c21
parent 2e236eb16ffd96377fae76d7dfb89f0607092a9c
Author: sin <sin@2f30.org>
Date:   Thu,  4 Jun 2015 19:31:34 +0100

Remove superfluous comment

Diffstat:
Mcolors.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/colors.c b/colors.c @@ -132,7 +132,6 @@ process(void) while (!done) { done = 1; TAILQ_FOREACH_SAFE(p, &points, e, tmp) { - /* calculate the distance of this point from all cluster centers */ for (i = 0; i < nclusters; i++) dists[i] = distance(p, &clusters[i].center); @@ -146,7 +145,6 @@ process(void) } } - /* if point is already part of the nearest cluster, skip it */ if (hasmember(&clusters[mini], p)) continue;