aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-20 04:21:19 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:15 +0100
commit96949d9392b5aa2aed1f3fe1116f405b617f05e0 (patch)
tree2f5896ab46b332884421f4d75001d03964c7b11c /src/peaks.c
parent941556dbe66c7f13f0659ebdc139344193eb3e7c (diff)
Fix badrow direction
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 d158f064..99aa4539 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -162,7 +162,7 @@ static int cull_peaks(struct image *image)
for ( i=0; i<image->det->n_panels; i++ ) {
p = &image->det->panels[i];
- if ( p->badrow != '0' ) {
+ if ( p->badrow != '-' ) {
nelim += cull_peaks_in_panel(image, p);
}
}