From 66913c316206cd4970a4480ac7131a0077a9c752 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 14 Feb 2011 17:32:06 -0800 Subject: Allow badrow_direction = - --- src/peaks.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/peaks.c') diff --git a/src/peaks.c b/src/peaks.c index c9dbe8e0..99c82323 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -115,10 +115,7 @@ static int cull_peaks_in_panel(struct image *image, struct panel *p) if ( fabs(f->y - g->y) < 2.0 ) ncol++; } else if ( p->badrow == 'y' ) { if ( fabs(f->x - g->x) < 2.0 ) ncol++; - } else { - ERROR("Invalid badrow direction.\n"); - abort(); - } + } /* else do nothing */ } -- cgit v1.2.3