aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 99c82323..d158f064 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -95,10 +95,10 @@ static int cull_peaks_in_panel(struct image *image, struct panel *p)
f = image_get_feature(image->features, i);
if ( f == NULL ) continue;
- if ( f->x < p->min_x ) continue;
- if ( f->x > p->max_x ) continue;
- if ( f->y < p->min_y ) continue;
- if ( f->y > p->max_y ) continue;
+ if ( f->x < p->min_fs ) continue;
+ if ( f->x > p->max_fs ) continue;
+ if ( f->y < p->min_ss ) continue;
+ if ( f->y > p->max_ss ) continue;
/* How many peaks are in the same column? */
ncol = 0;