aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c
index cfa5e33b..9461dc7e 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -108,7 +108,7 @@ static void cull_peaks(struct image *image)
g = image_get_feature(image->features, j);
if ( g == NULL ) continue;
- if ( f->x == g->x ) ncol++;
+ if ( fabs(f->x - g->x) < 2.0 ) ncol++;
}